Added low bit-rate (8 kbps) narrowband mode. It is still sub-optimal but
[speexdsp.git] / libspeex / speex_header.h
index 1688dab..ef34ee5 100644 (file)
 #define SPEEX_HEADER_H
 
 typedef struct SpeexHeader {
+   char speex_version[20];
+   int speex_header_version;
    int rate;
    int mode;
    int nb_channels;
+   int byte_rate;
+   int frame_size;
 } SpeexHeader;
 
+char *speex_header_to_packet(SpeexHeader *header, int *size);
+
+SpeexHeader *speex_packet_to_header(char *packet, int size);
+
 #endif