blob: 5df88fcbb6f036dd6750a34d94e6963fb350d1d1 [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301/* Copyright (c) 2012-2013, 2015 The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef _Q6_AUDIO_H_
14#define _Q6_AUDIO_H_
15
Laxminath Kasam605b42f2017-08-01 22:02:15 +053016#include <ipc/apr.h>
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053017
18enum {
19 LEGACY_PCM_MODE = 0,
20 LOW_LATENCY_PCM_MODE,
21 ULTRA_LOW_LATENCY_PCM_MODE,
22 ULL_POST_PROCESSING_PCM_MODE,
23};
24
25
26int q6audio_get_port_index(u16 port_id);
27
28int q6audio_convert_virtual_to_portid(u16 port_id);
29
30int q6audio_validate_port(u16 port_id);
31
32int q6audio_is_digital_pcm_interface(u16 port_id);
33
34int q6audio_get_port_id(u16 port_id);
35
36#endif