Date: Tue, 8 May 2001 23:57:07 +0900 (JST) From: sanewo@ba2.so-net.ne.jp To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27204: rplayd complains about pcm mixer device on startup Message-ID: <200105081457.f48Ev7l60771@ba2.so-net.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 27204 >Category: ports >Synopsis: rplayd complains about pcm mixer device on startup >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 08 08:00:12 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Takanori Saneto >Release: FreeBSD 4.3-STABLE i386 >Organization: an individual >Environment: System: FreeBSD muse.sanewo 4.3-STABLE FreeBSD 4.3-STABLE #13: Sun May 6 13:38:29 JST 2001 root@muse.sanewo:/export/usr.obj/usr/src/sys/MUSE i386 rplayd installed from ports/audio/rplay as of 2001/05/06. >Description: When rplayd is invoked, it complains: rplay_audio_get_volume: pcm mixer device not installed >How-To-Repeat: install rplay port and invoke rplayd. >Fix: Following patch seems to fix this problem. --- rplayd/audio/audio_FreeBSD.c.orig Sun May 6 12:31:42 2001 +++ rplayd/audio/audio_FreeBSD.c Sun May 6 12:31:33 2001 @@ -353,7 +353,7 @@ return (-1); } - if (!(mxdevmask & SOUND_MIXER_PCM)) + if (!(mxdevmask & (1<<SOUND_MIXER_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 & (1<<SOUND_MIXER_PCM))) { report(REPORT_ERROR, "rplay_audio_set_volume: pcm mixer device not installed\n"); close(mx); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105081457.f48Ev7l60771>