3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- xine-lib-1.1.0/src/demuxers/demux_ogg.c~demuxogg
7 +++ xine-lib-1.1.0/src/demuxers/demux_ogg.c
12 -#include <vorbis/codec.h>
13 +#include <tremor/ivorbiscodec.h>
16 #ifdef HAVE_SPEEX_SUBDIR
17 --- xine-lib-1.1.0/src/demuxers/Makefile.am~demuxogg
18 +++ xine-lib-1.1.0/src/demuxers/Makefile.am
20 include $(top_srcdir)/misc/Makefile.common
22 -AM_CFLAGS = $(THEORA_CFLAGS) $(OGG_CFLAGS) $(SPEEX_CFLAGS) $(LIBMODPLUG_CFLAGS)
23 +AM_CFLAGS = $(THEORA_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(LIBMODPLUG_CFLAGS)
25 libdir = $(XINE_PLUGINDIR)
29 # Patch managed by http://www.holgerschurig.de/patcher.html
32 --- xine-lib-1.1.0/src/libvorbis/xine_decoder.c~libxine-libvorbis
33 +++ xine-lib-1.1.0/src/libvorbis/xine_decoder.c
38 -#include <vorbis/codec.h>
39 +#include <tremor/ivorbiscodec.h>
41 #define MAX_NUM_SAMPLES 4096
45 } else if (this->output_open) {
51 if(vorbis_synthesis(&this->vb,&this->op)==0)
54 for(i=0;i<this->vi.channels;i++){
55 ogg_int16_t *ptr=audio_buffer->mem+i;
59 - int val=mono[j]*32767.f;
61 /* might as well guard against clipping */