asf.h 448 B

123456789101112131415161718192021222324
  1. #ifndef _ASF_H
  2. #define _ASF_H
  3. #include <inttypes.h>
  4. /* ASF codec IDs */
  5. #define ASF_CODEC_ID_WMAV1 0x160
  6. #define ASF_CODEC_ID_WMAV2 0x161
  7. struct asf_waveformatex_s {
  8. uint32_t packet_size;
  9. int audiostream;
  10. uint16_t codec_id;
  11. uint16_t channels;
  12. uint32_t rate;
  13. uint32_t bitrate;
  14. uint16_t blockalign;
  15. uint16_t bitspersample;
  16. uint16_t datalen;
  17. uint8_t data[6];
  18. };
  19. typedef struct asf_waveformatex_s asf_waveformatex_t;
  20. #endif