From owner-freebsd-hackers Sun Sep 17 11:03:27 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21413 for hackers-outgoing; Sun, 17 Sep 1995 11:03:27 -0700 Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.35.13]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA21408 for ; Sun, 17 Sep 1995 11:03:25 -0700 Received: (from james@localhost) by miller.cs.uwm.edu (8.6.10/8.6.10) id KAA22189; Sun, 17 Sep 1995 10:46:31 -0500 Date: Sun, 17 Sep 1995 10:46:31 -0500 From: Jim Lowe Message-Id: <199509171546.KAA22189@miller.cs.uwm.edu> To: hackers@freefall.freebsd.org, jkh@time.cdrom.com Subject: Re: Sound driver in 2.1 / 2.2.. Cc: multimedia@rah.star-gate.com Sender: owner-hackers@FreeBSD.org Precedence: bulk > From: "Jordan K. Hubbard" > > 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