From owner-freebsd-questions Mon Aug 30 11:19:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from auchroisk.pdl.cs.cmu.edu (AUCHROISK.PDL.CS.CMU.EDU [128.2.189.63]) by hub.freebsd.org (Postfix) with ESMTP id 1C95315831 for ; Mon, 30 Aug 1999 11:19:33 -0700 (PDT) (envelope-from dpetrou@auchroisk.pdl.cs.cmu.edu) Received: (from dpetrou@localhost) by auchroisk.pdl.cs.cmu.edu (8.8.8/8.8.8) id OAA11014 for freebsd-questions@freebsd.org; Mon, 30 Aug 1999 14:19:34 -0400 (EDT) (envelope-from dpetrou) From: David Petrou Message-Id: <199908301819.OAA11014@auchroisk.pdl.cs.cmu.edu> Subject: Q: How to control /dev/dsp To: freebsd-questions@freebsd.org Date: Mon, 30 Aug 1999 14:19:33 -0400 (EDT) Reply-To: dpetrou@cs.cmu.edu X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG anyone know how to put /dev/dsp on freebsd 2.2.5 into a certain mode, say, sample at 44.1khz/16bit? and the followup question is: once i succeed in doing this, what format will the output be? unsigned/signed, etc. my goal is to put /dev/dsp into this mode and then figure out the right command line options to get sox to convert data on /dev/dsp to a wav. here's some potentially relevant info: ---------------------------------------------------------------------- > more /dev/sndstat VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995 freebsd-hacker s@freefall.cdrom.com) Config options: ffffffff Installed drivers: Type 1: OPL-2/OPL-3 FM Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 7 drq 1 SoundBlaster16 at 0x0 irq 65535 drq 5 SB16 MIDI at 0x330 irq 65535 drq 4294967295 OPL-2/OPL-3 FM at 0x38a irq 65535 drq 4294967295 Audio devices: 0: SoundBlaster 16 4.13 Synth devices: 0: Yamaha OPL-3 Midi devices: 0: SoundBlaster 16 Midi Timers: 0: System Timer Mixers: 0: SoundBlaster ---------------------------------------------------------------------- let me know if there more info i should provide. thanks! david To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message