comparison liboggplayer-src/src/util.cpp @ 60:9c63b355c82b

Remove the audio code completely.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Aug 2013 23:45:05 +0300
parents 74b28a572438
children
comparison
equal deleted inserted replaced
59:3eacedd172ab 60:9c63b355c82b
3 #include <windows.h> 3 #include <windows.h>
4 #endif 4 #endif
5 int OggPlayer::Imp::queue_page(ogg_page * page) { 5 int OggPlayer::Imp::queue_page(ogg_page * page) {
6 if (theora_p) 6 if (theora_p)
7 ogg_stream_pagein(&o_tsstate, page); 7 ogg_stream_pagein(&o_tsstate, page);
8 #ifdef VORBIS_SUPPORT
9 if (vorbis_p)
10 ogg_stream_pagein(&o_vsstate, page);
11 #endif
12 return 0; 8 return 0;
13 } 9 }
14 10
15 bool OggPlayer::Imp::buffer_data() { 11 bool OggPlayer::Imp::buffer_data() {
16 if (!file_in.is_open()) 12 if (!file_in.is_open())