blob: e4291e766ab6d81255e0a936c7513b13cbbabfad [file] [log] [blame]
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07001/* Copyright (c) 2012, Code Aurora Forum. 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
14/* For Decoders */
15#ifndef __Q6_AUDIO_COMMON_H__
16#define __Q6_AUDIO_COMMON_H__
17
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -070018#ifdef CONFIG_ARCH_MSM8974
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -070019#include <sound/apr_audio-v2.h>
20#include <sound/q6asm-v2.h>
21#else
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -070022#include <sound/apr_audio.h>
23#include <sound/q6asm.h>
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -070024#endif
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -070025
26void q6_audio_cb(uint32_t opcode, uint32_t token,
27 uint32_t *payload, void *priv);
28
29void audio_aio_cb(uint32_t opcode, uint32_t token,
30 uint32_t *payload, void *audio);
31
32
33/* For Encoders */
34void q6asm_in_cb(uint32_t opcode, uint32_t token,
35 uint32_t *payload, void *priv);
36
37void audio_in_get_dsp_frames(void *audio,
38 uint32_t token, uint32_t *payload);
39
40#endif /*__Q6_AUDIO_COMMON_H__*/