diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-25 10:48:48 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-25 10:49:04 +0200 |
commit | bbf151ff5613c562fe1e044902fbbb93194c7450 (patch) | |
tree | 2cd9ce73d2bd20cd98fc31b9518c363ef1998645 /package/esound/patches | |
parent | 23b102e99e53394482e2363c533e43e54250ddfd (diff) |
remove esound, not really maintained, use pulseaudio
Diffstat (limited to 'package/esound/patches')
-rw-r--r-- | package/esound/patches/patch-esd_c | 23 | ||||
-rw-r--r-- | package/esound/patches/patch-esddsp_c | 38 |
2 files changed, 0 insertions, 61 deletions
diff --git a/package/esound/patches/patch-esd_c b/package/esound/patches/patch-esd_c deleted file mode 100644 index 2af302a63..000000000 --- a/package/esound/patches/patch-esd_c +++ /dev/null @@ -1,23 +0,0 @@ -$Id$ - - cast to double, to avoid sinf, patch from Sven Gugges - ---- esound-0.2.41.orig/esd.c 2008-11-18 21:35:19.000000000 +0100 -+++ esound-0.2.41/esd.c 2011-01-14 23:15:33.000000000 +0100 -@@ -134,14 +134,14 @@ void set_audio_buffer( void *buf, esd_fo - { - case ESD_BITS8: - for ( i = 0 ; i < length ; i+=2 ) { -- sample = sin( (float)(i+offset) * kf ); -+ sample = sin( (double)(i+offset) * kf ); - uc_buf[i] = 127 + magl * sample; - uc_buf[i+1] = 127 + magr * sample; - } - break; - case ESD_BITS16: /* assume same endianness */ - for ( i = 0 ; i < length ; i+=2 ) { -- sample = sin( (float)(i+offset) * kf ); -+ sample = sin( (double)(i+offset) * kf ); - ss_buf[i] = magl * sample; - ss_buf[i+1] = magr * sample; - } diff --git a/package/esound/patches/patch-esddsp_c b/package/esound/patches/patch-esddsp_c deleted file mode 100644 index 3b774f403..000000000 --- a/package/esound/patches/patch-esddsp_c +++ /dev/null @@ -1,38 +0,0 @@ ---- esound-0.2.41.orig/esddsp.c 2008-11-18 21:35:19.000000000 +0100 -+++ esound-0.2.41/esddsp.c 2013-12-23 16:08:43.000000000 +0100 -@@ -264,7 +264,7 @@ open_wrapper (int (*func) (const char *, - } - - int --open (const char *pathname, int flags, ...) -+esd_open (const char *pathname, int flags, ...) - { - static int (*func) (const char *, int, mode_t) = NULL; - va_list args; -@@ -291,7 +291,7 @@ open (const char *pathname, int flags, . - } - - int --open64 (const char *pathname, int flags, ...) -+esd_open64 (const char *pathname, int flags, ...) - { - static int (*func) (const char *, int, mode_t) = NULL; - va_list args; -@@ -355,7 +355,7 @@ fopen_wrapper (FILE * (*func) (const cha - } - - FILE * --fopen (const char *path, const char *mode) -+esd_fopen (const char *path, const char *mode) - { - static FILE * (*func) (const char *, const char *) = NULL; - -@@ -375,7 +375,7 @@ fopen (const char *path, const char *mod - } - - FILE * --fopen64 (const char *path, const char *mode) -+esd_fopen64 (const char *path, const char *mode) - { - static FILE * (*func) (const char *, const char *) = NULL; - |