q6audio-v2.h 545 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2012-2013, 2015, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _Q6_AUDIO_H_
  6. #define _Q6_AUDIO_H_
  7. #include <ipc/apr.h>
  8. enum {
  9. LEGACY_PCM_MODE = 0,
  10. LOW_LATENCY_PCM_MODE,
  11. ULTRA_LOW_LATENCY_PCM_MODE,
  12. ULL_POST_PROCESSING_PCM_MODE,
  13. };
  14. int q6audio_get_port_index(u16 port_id);
  15. int q6audio_convert_virtual_to_portid(u16 port_id);
  16. int q6audio_validate_port(u16 port_id);
  17. int q6audio_is_digital_pcm_interface(u16 port_id);
  18. int q6audio_get_port_id(u16 port_id);
  19. #endif