From owner-freebsd-multimedia Fri May 30 04:14:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA11237 for multimedia-outgoing; Fri, 30 May 1997 04:14:36 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA11231 for ; Fri, 30 May 1997 04:14:33 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Fri, 30 May 1997 7:13:26 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA04770; Fri, 30 May 97 07:13:23 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id HAA08626; Fri, 30 May 1997 07:12:19 -0400 Message-Id: <19970530071218.17682@ct.picker.com> Date: Fri, 30 May 1997 07:12:18 -0400 From: Randall Hopper To: Jack W Doyle Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: audio-related (audio CD loudness, rtprio au) References: <19970529.081153.11854.0.N9OGK@juno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <19970529.081153.11854.0.N9OGK@juno.com>; from Jack W Doyle on Thu, May 29, 1997 at 09:20:26AM -0500 Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jack W Doyle: |but in FreeBSD 2.1.7, I have to turn up the volume so I can hear it. Is |it due to my SB16 card, or is there a way to tell it what MIN_VOL value |to use in relation to MAX_VOL? I am using xcdplayer. On some soundcards like yours and mine (as I recall), Voxware doesn't default the volume too high for the CD input. If you want it to default higher, try putting an invocation of /usr/sbin/mixer in your /etc/rc.local. I'm not sitting at my PC right now, but usage is pretty straightforward: mixer vol 50 to adjust the global card volume mixer pcm 50 to be selective and just affect PCM. But you want the CD input volume. I'd guess that's "cd", but do a "man mixer" to be sure. |2) This is somewhat related to above question, but not entirely. Is it |possible to use 'rtprio 3 au -audio :0' and then have the audio |server look up user-defined settings for the audio server? | |3) How do I get sound output to work on games like xboing, xgalaga, and |other X games? Currently, I've been able to get the sound to work on |xboing only once and that's it. I did this by using the -debug option, |but was not able to repeat the effect. Otherwise it says it has problems |writing to sound device and being unable to flush sound device (yes the |soundcard is configured properly). Don't know #2, but it gives a clue about #3. If you run some type of sound server, you either have to kill it before running games that directly access the sound devices, or you have to make the server close the audio device when its not using it, and just open it on an as-needed basis. Otherwise, other sound apps just get an EBUSY when trying to open it. rplayd has options to support this, but some other servers (e.g. NAS last time I checked) don't by default so either killing that server or patching its source is required to get it to let go of the audio device. (I recall somebody posting said patches for NAS a while back; might grep the mail archives at www.freebsd.org/search.html if they're not in the default NAS package yet). |4) Is there a better approach to having sound than using NAS for a |single-user machine? Might check out rplayd. It'll let go of the audio device and works reasonably well (for my uses anyway). Randall