diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-21 10:18:56 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-21 10:18:56 +0000 |
commit | 82cde22e4ddcc42043b353f62304ba642ab2d4b7 (patch) | |
tree | 3bf9fc289c56b96c5a327d3e0fa127e3f87acd78 /gst/speexresample/speex_resampler.h | |
parent | 9fd560ffcae003bff7f522146db4aa880a379677 (diff) | |
download | gst-plugins-bad-82cde22e4ddcc42043b353f62304ba642ab2d4b7.tar.gz gst-plugins-bad-82cde22e4ddcc42043b353f62304ba642ab2d4b7.tar.bz2 gst-plugins-bad-82cde22e4ddcc42043b353f62304ba642ab2d4b7.zip |
gst/speexresample/README: Add README explaining where the resampling code was taken from and which changes were done.
Original commit message from CVS:
* gst/speexresample/README:
Add README explaining where the resampling code was taken from
and which changes were done.
* gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
(speex_free):
Use g_malloc() and friends instead of malloc() to achieve higher
portability and define the functions inline.
* gst/speexresample/speex_resampler.h:
Add back some useless preprocessor stuff to keep the diff between
our version and the one from the Speex SVN repository lower.
Diffstat (limited to 'gst/speexresample/speex_resampler.h')
-rw-r--r-- | gst/speexresample/speex_resampler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/speexresample/speex_resampler.h b/gst/speexresample/speex_resampler.h index 1dde54ac..7ca6efc0 100644 --- a/gst/speexresample/speex_resampler.h +++ b/gst/speexresample/speex_resampler.h @@ -48,6 +48,11 @@ /* If the resampler is defined outside of Speex, we change the symbol names so that there won't be any clash if linking with Speex later on. */ +/* #define RANDOM_PREFIX your software name here */ +#ifndef RANDOM_PREFIX +#error "Please define RANDOM_PREFIX (above) to something specific to your project to prevent symbol name clashes" +#endif + #define CAT_PREFIX2(a,b) a ## b #define CAT_PREFIX(a,b) CAT_PREFIX2(a, b) |