Date: Wed, 21 Apr 2004 08:51:52 -0400 From: "Ian D. Leroux" <ian_leroux@fastmail.fm> To: freebsd-questions@freebsd.org Subject: SNDCTL_DSP_SETFMT Message-ID: <20040421125152.GB761@schtroumpf.dyndns.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040421125152.GB761>