diff options
Diffstat (limited to 'dec_audio.c')
-rw-r--r-- | dec_audio.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/dec_audio.c b/dec_audio.c index 699f7a8149..c6605886bc 100644 --- a/dec_audio.c +++ b/dec_audio.c @@ -18,10 +18,6 @@ int fakemono=0; #include "stream.h" #include "demuxer.h" -#include "wine/mmreg.h" -#include "wine/avifmt.h" -#include "wine/vfw.h" - #include "codec-cfg.h" #include "stheader.h" @@ -44,6 +40,20 @@ int fakemono=0; /* XXX is math.h really needed? - atmos */ #include <math.h> #include <vorbis/codec.h> + +typedef struct ov_struct_st { + ogg_sync_state oy; /* sync and verify incoming physical bitstream */ + ogg_stream_state os; /* take physical pages, weld into a logical + stream of packets */ + ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ + ogg_packet op; /* one raw packet of data for decode */ + + vorbis_info vi; /* struct that stores all the static vorbis bitstream + settings */ + vorbis_comment vc; /* struct that stores all the bitstream user comments */ + vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ + vorbis_block vb; /* local working space for packet->PCM decode */ +} ov_struct_t; #endif #ifdef USE_LIBAVCODEC |