From owner-freebsd-hackers Sun Sep 17 11:15:56 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21831 for hackers-outgoing; Sun, 17 Sep 1995 11:15:56 -0700 Received: from Wit401402.student.utwente.nl (Wit401402.student.utwente.nl [130.89.236.162]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA21802 for ; Sun, 17 Sep 1995 11:15:51 -0700 Received: (from alain@localhost) by Wit401402.student.utwente.nl (8.6.12/8.6.9) id RAA00190; Sun, 17 Sep 1995 17:33:47 +0200 Date: Sun, 17 Sep 1995 17:33:46 +0200 (MET DST) From: Alain Kalker Reply-To: A.C.P.M.Kalker@student.utwente.nl To: "Jordan K. Hubbard" cc: hackers@freefall.freebsd.org, multimedia@rah.star-gate.com Subject: Re: Sound driver in 2.1 / 2.2.. In-Reply-To: <435.811305306@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org Precedence: bulk On Sat, 16 Sep 1995, Jordan K. Hubbard wrote: > 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. > > 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? > > Jordan > > Strange, I have a P5-90 and don't have any trouble at all. It does munch up about 80% of my CPU, though. Are you sure you don't have anything like profiling enabled in your kernel? The GF1 (/dev/dsp0) output does need some extra processing (in gus_copy_from_user() in gus_wave.c) which the CS4231 doesn't need. Anyway, I do have to improve the patch a bit, because currently it does break L...x compatibility (you only care when you're resubmitting the patches to Hannu, the VoxWare maintainer) --- Alain