summaryrefslogtreecommitdiff
path: root/audio/gqmpeg/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-08 21:18:35 +0000
committerwiz <wiz@pkgsrc.org>2000-12-08 21:18:35 +0000
commit9b558e5497cc38178cc1f46da323fe3f371ac6c5 (patch)
treeb10826173e06a0915a8f448100236ac1f41c6133 /audio/gqmpeg/patches/patch-ab
parent374bbf01b79e543ac0ed9e67495006eff7d15bd3 (diff)
downloadpkgsrc-9b558e5497cc38178cc1f46da323fe3f371ac6c5.tar.gz
Update to 0.8.1. Changes since 0.7.3:
New skin format; skin editor (press tilde (~)); repeat 1 and A-B buttons; optional delay between songs (counted down); user options for mpg123 in preferences; ipc commands --skin_set, --volume and --status; randomize playlist in right-click menu; updated translations, some bugfixes.
Diffstat (limited to 'audio/gqmpeg/patches/patch-ab')
-rw-r--r--audio/gqmpeg/patches/patch-ab20
1 files changed, 9 insertions, 11 deletions
diff --git a/audio/gqmpeg/patches/patch-ab b/audio/gqmpeg/patches/patch-ab
index 8e0650e9e37..1b421bf0ba9 100644
--- a/audio/gqmpeg/patches/patch-ab
+++ b/audio/gqmpeg/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.12 2000/09/01 15:58:37 toshii Exp $
+$NetBSD: patch-ab,v 1.13 2000/12/08 21:18:36 wiz Exp $
---- src/mixer.c.orig Mon Jul 24 07:25:50 2000
-+++ src/mixer.c Fri Sep 1 21:42:16 2000
+--- src/mixer.c.orig Sun Dec 3 06:44:59 2000
++++ src/mixer.c
@@ -265,6 +265,17 @@
mixer_devinfo_t *infos;
mixer_ctrl_t *values;
@@ -20,15 +20,13 @@ $NetBSD: patch-ab,v 1.12 2000/09/01 15:58:37 toshii Exp $
void mixer_init(gint init_device_id)
{
int fd, i, ndev;
-@@ -306,7 +317,12 @@
- if (infos[i].type == AUDIO_MIXER_VALUE) {
- DeviceData *device = g_new0(DeviceData, 1);
- device->device_id = i;
-- device->device_name = infos[i].label.name;
+@@ -309,7 +320,10 @@
+ /* if problem, revert back to this:
+ device->device_name = infos[i].label.name;
+ */
+- device->device_name = g_strconcat(infos[infos[i].mixer_class].label.name, "." ,infos[i].label.name, NULL);
+ if (0 <= infos[i].mixer_class && infos[i].mixer_class < ndev)
-+ device->device_name =
-+ catstr(infos[infos[i].mixer_class].label.name,
-+ infos[i].label.name);
++ device->device_name = g_strconcat(infos[infos[i].mixer_class].label.name, "." ,infos[i].label.name, NULL);
+ else
+ device->device_name = infos[i].label.name;
device->stereo = 1;