summaryrefslogtreecommitdiff
path: root/audio/sox/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-07-23 07:55:12 +0000
committeradam <adam@pkgsrc.org>2010-07-23 07:55:12 +0000
commit83da7837a3804342b74763bfb8bfde4dfceff1ac (patch)
tree5194a52ccf43ad1d12762c01420a68d772ce0e2d /audio/sox/patches
parent9f5bcfd3c84725f6a868028b3ef35f2ae2150288 (diff)
downloadpkgsrc-83da7837a3804342b74763bfb8bfde4dfceff1ac.tar.gz
Changes 14.3.1:
* Several fixes incl. multi-core MS-Windows threading problem. * New MS-Windows native audio driver. * New Grandstream ringtone file format. * New support in libSoX for memory based file IO. * Now able to set MP3 compression parameters.
Diffstat (limited to 'audio/sox/patches')
-rw-r--r--audio/sox/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/sox/patches/patch-aa b/audio/sox/patches/patch-aa
new file mode 100644
index 00000000000..d2c8f804f96
--- /dev/null
+++ b/audio/sox/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.13 2010/07/23 07:55:12 adam Exp $
+
+--- src/sox.c.orig 2010-07-22 15:31:02.000000000 +0000
++++ src/sox.c
+@@ -1216,7 +1216,9 @@ static void adjust_volume(int delta)
+ vol2 = range_limit(vol1 + delta, 0, 100);
+ AUDIO_INITINFO(&audio_info);
+ audio_info.play.gain = (vol2 * AUDIO_MAX_GAIN + 50) / 100;
++#if !defined(__NetBSD__)
+ audio_info.output_muted = 0;
++#endif
+ lsx_debug("%04x %04x", vol1, vol2);
+ if (vol1 != vol2 && ioctl(fd, AUDIO_SETINFO, &audio_info) < 0)
+ vol2 = vol1;