summaryrefslogtreecommitdiffhomepage
path: root/patches/libsndfile-1.0.28.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-03-24 11:22:38 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-03-24 11:22:38 +0000
commit6b6135b04f86cee666fec39a42b849a1956545b3 (patch)
tree97ddf6b42a73a96282ef1692b7da725aace948de /patches/libsndfile-1.0.28.local.patch
parent89a1398e489761248b3b1b31c4768644eede9fab (diff)
downloadmidipix_build-6b6135b04f86cee666fec39a42b849a1956545b3.tar.bz2
midipix_build-6b6135b04f86cee666fec39a42b849a1956545b3.tar.xz
patches/alsa_lib-1.1.{6,8}.local.patch: updated (via Redfoxmoon.)
patches/libsndfile-1.0.28.local.patch: removes obsolete patch (via Redfoxmoon.) patches/rdesktop-1.8.4.local.patch: removes obsolete patch (via Redfoxmoon.) vars/build.vars:alsa_lib:${PKG_CFLAGS_BUILD_EXTRA}: build w/ -D__u8=uint8_t (via Redfoxmoon.) vars/build.vars:alsa_lib: updated to v1.1.8 (via Redfoxmoon.)
Diffstat (limited to 'patches/libsndfile-1.0.28.local.patch')
-rw-r--r--patches/libsndfile-1.0.28.local.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/patches/libsndfile-1.0.28.local.patch b/patches/libsndfile-1.0.28.local.patch
deleted file mode 100644
index 52adc592..00000000
--- a/patches/libsndfile-1.0.28.local.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -ru libsndfile-1.0.28.orig/programs/sndfile-play.c libsndfile-1.0.28/programs/sndfile-play.c
---- libsndfile-1.0.28.orig/programs/sndfile-play.c 2017-04-01 09:18:02.000000000 +0200
-+++ libsndfile-1.0.28/programs/sndfile-play.c 2018-06-10 03:16:32.784821054 +0200
-@@ -193,7 +193,7 @@
- goto catch_error ;
- } ;
-
-- if ((err = snd_pcm_hw_params_set_rate_near (alsa_dev, hw_params, &samplerate, 0)) < 0)
-+ if ((err = __snd_pcm_hw_params_set_rate_near (alsa_dev, hw_params, &samplerate, 0)) < 0)
- { fprintf (stderr, "cannot set sample rate (%s)\n", snd_strerror (err)) ;
- goto catch_error ;
- } ;
-@@ -203,12 +203,12 @@
- goto catch_error ;
- } ;
-
-- if ((err = snd_pcm_hw_params_set_buffer_size_near (alsa_dev, hw_params, &alsa_buffer_frames)) < 0)
-+ if ((err = __snd_pcm_hw_params_set_buffer_size_near (alsa_dev, hw_params, &alsa_buffer_frames)) < 0)
- { fprintf (stderr, "cannot set buffer size (%s)\n", snd_strerror (err)) ;
- goto catch_error ;
- } ;
-
-- if ((err = snd_pcm_hw_params_set_period_size_near (alsa_dev, hw_params, &alsa_period_size, 0)) < 0)
-+ if ((err = __snd_pcm_hw_params_set_period_size_near (alsa_dev, hw_params, &alsa_period_size, 0)) < 0)
- { fprintf (stderr, "cannot set period size (%s)\n", snd_strerror (err)) ;
- goto catch_error ;
- } ;
-@@ -219,8 +219,8 @@
- } ;
-
- /* extra check: if we have only one period, this code won't work */
-- snd_pcm_hw_params_get_period_size (hw_params, &alsa_period_size, 0) ;
-- snd_pcm_hw_params_get_buffer_size (hw_params, &buffer_size) ;
-+ __snd_pcm_hw_params_get_period_size (hw_params, &alsa_period_size, 0) ;
-+ __snd_pcm_hw_params_get_buffer_size (hw_params, &buffer_size) ;
- if (alsa_period_size == buffer_size)
- { fprintf (stderr, "Can't use period equal to buffer size (%lu == %lu)", alsa_period_size, buffer_size) ;
- goto catch_error ;