Subject: Re: Sound support
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: jason <jabaker@grail.cba.csuohio.edu>
List: current-users
Date: 12/31/1996 16:57:58
>On Sparc, I get lots of pauses
>in the music (sounds like a buffering problem to me). Is it possible to use
>double buffering for more reliable playback? What else should I be asking?
On an i386 with an old version of netbsd, I get lots of pauses when
using a low water mark of 1. audio_select uses a different test
than audio_pint, and with a low water mark of 1, the device is only
ready when the last block has finished playing and a silence block has
started:
===================================================================
RCS file: /sys/dev/audio.c,v
retrieving revision 1.2
diff -c -r1.2 /sys/dev/audio.c
*** /sys/dev/audio.c 1996/06/26 20:32:27 1.2
--- /sys/dev/audio.c 1996/10/24 14:57:17
***************
*** 1185,1191 ****
* right? Or maybe specific to half-duplex devices?
*/
if (sc->sc_mode & AUMODE_RECORD ||
! sc->pr.nblk < sc->sc_lowat) {
splx(s);
return (1);
}
--- 1185,1191 ----
* right? Or maybe specific to half-duplex devices?
*/
if (sc->sc_mode & AUMODE_RECORD ||
! sc->pr.nblk <= sc->sc_lowat) {
splx(s);
return (1);
}
Jason