Package: mpg123 / 1.26.4-1

0001-disable_not_public_funcs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Disable function mpg123_noise that is not yet part of
 libmpg123's official API and should therefore not get exported.
Author: Daniel Kobras <kobras@debian.org>
---
 src/libmpg123/dither.c |    2 ++
 src/libmpg123/dither.h |    2 ++
 2 files changed, 4 insertions(+)

--- a/src/libmpg123/dither.h
+++ b/src/libmpg123/dither.h
@@ -17,7 +17,9 @@
 	,mpg123_highpass_tpdf_noise
 };
 
+#if 0
 void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype);
+#endif
 void dither_table_init(float *dithertable);
 
 #endif
--- a/src/libmpg123/dither_impl.h
+++ b/src/libmpg123/dither_impl.h
@@ -100,6 +100,7 @@
 	}
 }
 
+#if 0
 void mpg123_noise(float* table, size_t count, enum mpg123_noise_type noisetype)
 {
 	switch(noisetype)
@@ -111,6 +112,7 @@
 		break;
 	}
 }
+#endif
 
 /* Generate white noise and shape it with a high pass filter. */
 void dither_table_init(float *dithertable)