00001 #ifndef _audio_descr_h 00002 #define _audio_descr_h 00003 00004 typedef enum { 00005 AE_PCMU, AE_PCMA, AE_G721, AE_IDVI, AE_G723, AE_GSM, 00006 AE_1016, AE_LPC, 00007 AE_L8, AE_L16, AE_L24, AE_L32, 00008 AE_G728, AE_TRUE, 00009 AE_MAX 00010 } audio_encoding_t; 00011 00012 /* common audio description for files and workstation */ 00013 typedef struct { 00014 audio_encoding_t encoding; /* type of encoding (differs) */ 00015 unsigned sample_rate; /* sample frames per second */ 00016 unsigned channels; /* number of interleaved channels */ 00017 } audio_descr_t; 00018 #endif