blob: 75f20e5ac2bdfb469608a21657653c73b01a6462 [file] [log] [blame]
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05301/* Copyright (c) 2012-2014, 2017 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
14
15/* For Decoders */
16#ifndef __Q6_AUDIO_COMMON_H__
17#define __Q6_AUDIO_COMMON_H__
18
Laxminath Kasam605b42f2017-08-01 22:02:15 +053019#include <dsp/apr_audio-v2.h>
20#include <dsp/q6asm-v2.h>
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053021
22
23void q6_audio_cb(uint32_t opcode, uint32_t token,
24 uint32_t *payload, void *priv);
25
26void audio_aio_cb(uint32_t opcode, uint32_t token,
27 uint32_t *payload, void *audio);
28
29
30/* For Encoders */
31void q6asm_in_cb(uint32_t opcode, uint32_t token,
32 uint32_t *payload, void *priv);
33
34void audio_in_get_dsp_frames(void *audio,
35 uint32_t token, uint32_t *payload);
36
37#endif /*__Q6_AUDIO_COMMON_H__*/