msm-compr-q6.h 1012 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2011, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _MSM_COMPR_H
  14. #define _MSM_COMPR_H
  15. #include <sound/apr_audio.h>
  16. #include <sound/q6asm.h>
  17. #include <sound/compress_params.h>
  18. #include <sound/compress_offload.h>
  19. #include <sound/compress_driver.h>
  20. #include "msm-pcm-q6.h"
  21. struct compr_info {
  22. struct snd_compr_caps compr_cap;
  23. struct snd_compr_codec_caps codec_caps;
  24. struct snd_compr_params codec_param;
  25. };
  26. struct compr_audio {
  27. struct msm_audio prtd;
  28. struct compr_info info;
  29. uint32_t codec;
  30. };
  31. #endif /*_MSM_COMPR_H*/