audiovoxfile.h 540 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __AUDIOVOXFILE_H__
  2. #define __AUDIOVOXFILE_H__
  3. #pragma once
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #include "audiofile.h"
  8. typedef struct audiovoxfile_t audiovoxfile_t;
  9. struct audiovoxfile_t
  10. {
  11. audiofile_t base;
  12. void *adpcm_state;
  13. };
  14. apr_status_t audiovoxfile_create(apr_pool_t *pool,
  15. audioengine_t *engine,
  16. const char *file,
  17. int opt,
  18. audiovoxfile_t **p_voxfile);
  19. void audiovoxfile_destroy(audiovoxfile_t *voxfile);
  20. #ifdef __cplusplus
  21. } // extern "C" {
  22. #endif
  23. #endif //__AUDIOVOXFILE_H__