From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 05:51:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04AC116A4CF for ; Wed, 21 Apr 2004 05:51:53 -0700 (PDT) Received: from schtroumpf.dyndns.org (sorbara181.smc-res.utoronto.ca [142.151.138.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C04043D5F for ; Wed, 21 Apr 2004 05:51:52 -0700 (PDT) (envelope-from ian_leroux@fastmail.fm) Received: by schtroumpf.dyndns.org (Postfix, from userid 1002) id 33DA9411F; Wed, 21 Apr 2004 08:51:52 -0400 (EDT) Date: Wed, 21 Apr 2004 08:51:52 -0400 From: "Ian D. Leroux" To: freebsd-questions@freebsd.org Message-ID: <20040421125152.GB761@schtroumpf.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: SNDCTL_DSP_SETFMT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Ian D. Leroux" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 12:51:53 -0000 Ever since upgrading to 5.x (in January, currently at 5.2.1-RC2), I've been seeing errors in software that uses the sound card. The message varies from application to application, but in madplay it's: output: ioctl(SNDCTL_DSP_SETFMT): Invalid argument ogle (DVD player) has similar problems. Interestingly, the ogle developers seem to have run into something similar before: if OGLE_OSS_RESET_BUG is set in the environment, ogle closes and opens the sound device instead of just resetting it (c.f. http://www.dtek.chalmers.se/groups/dvd/changes-0_9_2.shtml ), and this seems to fix the problem (for this one program). However, in searching list archives, I haven't found any instances of this being an issue under FreeBSD. I'm wondering a) whether anyone else has seen something similar b) if anyone has suggestions on how to track down the problem (if I'm going to submit a PR, I'd like to have a more specific description of the issue) Thanks, Ian Leroux