2
converts ogg frames into audioFrames
3
Copyright (C) 2001 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
15
#ifndef __VORBISDECODER_H
16
#define __VORBISDECODER_H
18
#include "../frame/audioFrame.h"
27
#include <vorbis/codec.h>
32
vorbis_info vi; /* struct that stores all the static vorbis bitstream
34
vorbis_comment vc; /* struct that stores all the bitstream user comments */
35
vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
36
vorbis_block vb; /* local working space for packet->PCM decode */
47
int decode(RawFrame* rawFrame,AudioFrame* dest);
48
void config(const char* key,const char* val,void* ret);