diff options
Diffstat (limited to 'libavformat/voc.h')
-rw-r--r-- | libavformat/voc.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavformat/voc.h b/libavformat/voc.h index 71bd035212..a709765d96 100644 --- a/libavformat/voc.h +++ b/libavformat/voc.h @@ -28,6 +28,20 @@ typedef struct voc_dec_context { int remaining_size; } voc_dec_context_t; +typedef enum voc_type { + VOC_TYPE_EOF = 0x00, + VOC_TYPE_VOICE_DATA = 0x01, + VOC_TYPE_VOICE_DATA_CONT = 0x02, + VOC_TYPE_SILENCE = 0x03, + VOC_TYPE_MARKER = 0x04, + VOC_TYPE_ASCII = 0x05, + VOC_TYPE_REPETITION_START = 0x06, + VOC_TYPE_REPETITION_END = 0x07, + VOC_TYPE_EXTENDED = 0x08, + VOC_TYPE_NEW_VOICE_DATA = 0x09, +} voc_type_t; + + int voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size); |