Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 1 | /* 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 Kasam | 605b42f | 2017-08-01 22:02:15 +0530 | [diff] [blame] | 19 | #include <dsp/apr_audio-v2.h> |
| 20 | #include <dsp/q6asm-v2.h> |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 21 | |
| 22 | |
| 23 | void q6_audio_cb(uint32_t opcode, uint32_t token, |
| 24 | uint32_t *payload, void *priv); |
| 25 | |
| 26 | void audio_aio_cb(uint32_t opcode, uint32_t token, |
| 27 | uint32_t *payload, void *audio); |
| 28 | |
| 29 | |
| 30 | /* For Encoders */ |
| 31 | void q6asm_in_cb(uint32_t opcode, uint32_t token, |
| 32 | uint32_t *payload, void *priv); |
| 33 | |
| 34 | void audio_in_get_dsp_frames(void *audio, |
| 35 | uint32_t token, uint32_t *payload); |
| 36 | |
| 37 | #endif /*__Q6_AUDIO_COMMON_H__*/ |