NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/38493: no good audio with cdplay
The following reply was made to PR bin/38493; it has been noted by GNATS.
From: Sergey Svishchev <svs%ropnet.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/38493: no good audio with cdplay
Date: Sat, 17 May 2008 14:32:06 +0400
On Wed, Apr 23, 2008 at 10:20:00PM +0000, reed%reedmedia.net@localhost wrote:
>cdplay won't work for me. No audio. (mplayer and ogg123 and audioplay all
>work for audio for me.)
While I have no fix for your problem at the moment, there's definitely
a problem in cdplay; it shows up when you stop and then restart playback
('pause'/'resume' commands) -- kernel discards all audio samples for a time,
as documented in audio(4). The fix:
--- cdplay.c 17 Dec 2006 21:47:53 -0000 1.34.2.1
+++ cdplay.c 12 May 2008 16:51:10 -0000
@@ -1344,7 +1348,7 @@
da.afd = -1;
return (0);
}
- ai.mode = AUMODE_PLAY;
+ ai.mode = AUMODE_PLAY_ALL;
ai.play.sample_rate = 44100;
ai.play.channels = 2;
ai.play.precision = 16;
--
Sergey Svishchev
Home |
Main Index |
Thread Index |
Old Index