diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-04-01 21:10:05 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-04-01 21:10:05 +0000 |
commit | dbaf04e7de829b6e919e77b9addee04fe0ec7599 (patch) | |
tree | 1b17314a52bf2c2cbb1850888f4771d929327866 /recipes/libxine/libxine-1.1.0/tremor.patch | |
parent | 95f33f6c42bb02eb7574fb3647ed93fc14a9a073 (diff) | |
parent | 3d25ff174b24e7691e17ceddeef5ce95f9f4e6a6 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/libxine/libxine-1.1.0/tremor.patch')
-rw-r--r-- | recipes/libxine/libxine-1.1.0/tremor.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/recipes/libxine/libxine-1.1.0/tremor.patch b/recipes/libxine/libxine-1.1.0/tremor.patch deleted file mode 100644 index 8ea785d5ef..0000000000 --- a/recipes/libxine/libxine-1.1.0/tremor.patch +++ /dev/null @@ -1,63 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- xine-lib-1.1.0/src/demuxers/demux_ogg.c~demuxogg -+++ xine-lib-1.1.0/src/demuxers/demux_ogg.c -@@ -40,7 +40,7 @@ - #include <inttypes.h> - - #include <ogg/ogg.h> --#include <vorbis/codec.h> -+#include <tremor/ivorbiscodec.h> - - #ifdef HAVE_SPEEX - #ifdef HAVE_SPEEX_SUBDIR ---- xine-lib-1.1.0/src/demuxers/Makefile.am~demuxogg -+++ xine-lib-1.1.0/src/demuxers/Makefile.am -@@ -1,6 +1,6 @@ - include $(top_srcdir)/misc/Makefile.common - --AM_CFLAGS = $(THEORA_CFLAGS) $(OGG_CFLAGS) $(SPEEX_CFLAGS) $(LIBMODPLUG_CFLAGS) -+AM_CFLAGS = $(THEORA_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(LIBMODPLUG_CFLAGS) - - libdir = $(XINE_PLUGINDIR) - - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- xine-lib-1.1.0/src/libvorbis/xine_decoder.c~libxine-libvorbis -+++ xine-lib-1.1.0/src/libvorbis/xine_decoder.c -@@ -40,7 +40,7 @@ - #include "buffer.h" - - #include <ogg/ogg.h> --#include <vorbis/codec.h> -+#include <tremor/ivorbiscodec.h> - - #define MAX_NUM_SAMPLES 4096 - -@@ -217,7 +217,7 @@ - - } else if (this->output_open) { - -- float **pcm; -+ int **pcm; - int samples; - - if(vorbis_synthesis(&this->vb,&this->op)==0) -@@ -246,9 +246,9 @@ - interleave */ - for(i=0;i<this->vi.channels;i++){ - ogg_int16_t *ptr=audio_buffer->mem+i; -- float *mono=pcm[i]; -+ int *mono=pcm[i]; - for(j=0;j<bout;j++){ -- int val=mono[j]*32767.f; -+ int val=mono[j]>>9; - /* might as well guard against clipping */ - if(val>32767){ - val=32767; |