Line
Link Here
|
0 |
-- audacious-3.7.1/src/libaudcore/audio.cc |
0 |
++ audacious-3.7.1-uclibc/src/libaudcore/audio.cc |
Lines 218-225
EXPORT void audio_from_int (const void *
Link Here
|
218 |
|
218 |
|
219 |
EXPORT void audio_to_int (const float * in, void * out, int format, int samples) |
219 |
EXPORT void audio_to_int (const float * in, void * out, int format, int samples) |
220 |
{ |
220 |
{ |
|
|
221 |
#ifndef __UCLIBC__ |
221 |
int save = fegetround (); |
222 |
int save = fegetround (); |
222 |
fesetround (FE_TONEAREST); |
223 |
fesetround (FE_TONEAREST); |
|
|
224 |
#endif |
223 |
|
225 |
|
224 |
for (auto & conv : convert_table) |
226 |
for (auto & conv : convert_table) |
225 |
{ |
227 |
{ |
Lines 230-236
EXPORT void audio_to_int (const float *
Link Here
|
230 |
} |
232 |
} |
231 |
} |
233 |
} |
232 |
|
234 |
|
|
|
235 |
#ifndef __UCLIBC__ |
233 |
fesetround (save); |
236 |
fesetround (save); |
|
|
237 |
#endif |
234 |
} |
238 |
} |
235 |
|
239 |
|
236 |
EXPORT void audio_amplify (float * data, int channels, int frames, const float * factors) |
240 |
EXPORT void audio_amplify (float * data, int channels, int frames, const float * factors) |
237 |
-- audacious-3.7.1/src/libaudcore/vfs.cc |
241 |
++ audacious-3.7.1-uclibc/src/libaudcore/vfs.cc |
Lines 25-30
Link Here
|
25 |
#include <string.h> |
25 |
#include <string.h> |
26 |
#include <sys/stat.h> |
26 |
#include <sys/stat.h> |
27 |
#include <sys/types.h> |
27 |
#include <sys/types.h> |
|
|
28 |
#include <cstdio> |
28 |
#include <unistd.h> |
29 |
#include <unistd.h> |
29 |
|
30 |
|
30 |
#include <glib/gstdio.h> |
31 |
#include <glib/gstdio.h> |
31 |
-- audacious-3.7.1/src/libaudcore/vfs_local.cc |
32 |
++ audacious-3.7.1-uclibc/src/libaudcore/vfs_local.cc |
Lines 22-27
Link Here
|
22 |
|
22 |
|
23 |
#include <errno.h> |
23 |
#include <errno.h> |
24 |
#include <string.h> |
24 |
#include <string.h> |
|
|
25 |
#include <cstdio> |
25 |
#include <unistd.h> |
26 |
#include <unistd.h> |
26 |
|
27 |
|
27 |
#include <glib/gstdio.h> |
28 |
#include <glib/gstdio.h> |