q6audio_common.h 658 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* Copyright (c) 2012-2014, 2017 The Linux Foundation. All rights reserved.
  3. */
  4. /* For Decoders */
  5. #ifndef __Q6_AUDIO_COMMON_H__
  6. #define __Q6_AUDIO_COMMON_H__
  7. #include <dsp/apr_audio-v2.h>
  8. #include <dsp/q6asm-v2.h>
  9. void q6_audio_cb(uint32_t opcode, uint32_t token,
  10. uint32_t *payload, void *priv);
  11. void audio_aio_cb(uint32_t opcode, uint32_t token,
  12. uint32_t *payload, void *audio);
  13. /* For Encoders */
  14. void q6asm_in_cb(uint32_t opcode, uint32_t token,
  15. uint32_t *payload, void *priv);
  16. void audio_in_get_dsp_frames(void *audio,
  17. uint32_t token, uint32_t *payload);
  18. #endif /*__Q6_AUDIO_COMMON_H__*/