blob: fd6a490cbe4964226805f2d5229a18d5e9ee0ef8 [file] [log] [blame]
Venkat Sudhir42a06e12012-12-13 16:16:05 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Bharath Ramachandramurthy2e3168f2012-05-03 16:29:09 -07002 *
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
16#include <mach/qdsp6v2/apr.h>
17
18int q6audio_get_port_index(u16 port_id);
19
20int q6audio_convert_virtual_to_portid(u16 port_id);
21
22int q6audio_validate_port(u16 port_id);
23
Venkat Sudhir42a06e12012-12-13 16:16:05 -080024int q6audio_is_digital_pcm_interface(u16 port_id);
25
Bharath Ramachandramurthy2e3168f2012-05-03 16:29:09 -070026int q6audio_get_port_id(u16 port_id);
27
28#endif