Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 1995 10:46:31 -0500
From:      Jim Lowe <james@miller.cs.uwm.edu>
To:        hackers@freefall.freebsd.org, jkh@time.cdrom.com
Cc:        multimedia@rah.star-gate.com
Subject:   Re:  Sound driver in 2.1 / 2.2..
Message-ID:  <199509171546.KAA22189@miller.cs.uwm.edu>

next in thread | raw e-mail | index | archive | help
> From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
> 
> Well, "maplay" appears to play through /dev/dsp0 now, but there are
> tweets and farts interspersed occasionally in the music, it's like it
> just can't keep up (this is on a P5-90).  When I symlink /dev/dsp to
> /dev/dsp2 (cdev major 30, minor 35) then things work just great.

There could be several things that actually cause this.  One might be
that the gus GF1 doesn't run at the exact frequency that is specified
by the user.  Most sound cards such as the pas, sb, etc.. also don't run
at the speified freq, they approximate the freq.  I beleive the cs4231
actaully goes through a calibration cycle to ensure it is running at
the correct frequency.  This could cause maplay to bounce around a bit.

> 
> Should we just settle on /dev/dsp2 with a special MAKEDEV target
> (sndgus?) or can Alain's patch be improved to where things sound
> nice on /dev/dsp0?
> 
I think we want to be careful here.  It might be best if maplay was
compiled with a target device such as /dev/mp2, then one could make
a symbolic link to wherever it is needed.  The default sym link should
probably point to /dev/dsp0.  If one has a gus-max card then you could
point the link to /dev/dsp2.

	-Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509171546.KAA22189>