diff options
author | markp <markp@FreeBSD.org> | 2001-07-22 10:30:11 +0000 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2001-07-22 10:30:11 +0000 |
commit | 4af226781ad81094084560906bb70bced2b1cc7a (patch) | |
tree | 7b3e0b61dfcdcaef7e0048bb39a8e260ffce8577 /audio/rplay/files/patch-an | |
parent | 022cbb5c4c871c9c251f4e62860863cb82d86142 (diff) | |
download | FreeBSD-ports-4af226781ad81094084560906bb70bced2b1cc7a.zip FreeBSD-ports-4af226781ad81094084560906bb70bced2b1cc7a.tar.gz |
Fix audio detection problem.
PR: 27204
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Diffstat (limited to 'audio/rplay/files/patch-an')
-rw-r--r-- | audio/rplay/files/patch-an | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/rplay/files/patch-an b/audio/rplay/files/patch-an new file mode 100644 index 0000000..e2f195d --- /dev/null +++ b/audio/rplay/files/patch-an @@ -0,0 +1,20 @@ +--- rplayd/audio/audio_FreeBSD.c.orig Sun Jul 22 19:44:58 2001 ++++ rplayd/audio/audio_FreeBSD.c Sun Jul 22 19:47:01 2001 +@@ -353,7 +353,7 @@ + return (-1); + } + +- if (!(mxdevmask & SOUND_MIXER_PCM)) ++ if (!(mxdevmask & SOUND_MASK_PCM)) + { + report(REPORT_ERROR, "rplay_audio_get_volume: pcm mixer device not installed\n"); + close(mx); +@@ -417,7 +417,7 @@ + return (-1); + } + +- if (!(mxdevmask & SOUND_MIXER_PCM)) ++ if (!(mxdevmask & SOUND_MASK_PCM)) + { + report(REPORT_ERROR, "rplay_audio_set_volume: pcm mixer device not installed\n"); + close(mx); |