From owner-freebsd-multimedia Mon Jan 15 23:14: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from realtime.net (dragon.realtime.net [205.238.128.89]) by hub.freebsd.org (Postfix) with SMTP id 55F0837B404 for ; Mon, 15 Jan 2001 23:13:48 -0800 (PST) Received: from tigerfish2.my.domain ([205.238.179.171]) by realtime.net ; Tue, 16 Jan 2001 01:13:46 -0600 Received: (from brucegb@localhost) by tigerfish2.my.domain (8.11.1/8.11.1) id f0G7ELY93936 for freebsd-multimedia@freebsd.org; Tue, 16 Jan 2001 01:14:21 -0600 (CST) (envelope-from brucegb) Date: Tue, 16 Jan 2001 01:14:21 -0600 From: Bruce Burden To: freebsd-multimedia@freebsd.org Subject: MTV, 4.2, X-4.0.1, fvwm2, and audio? Message-ID: <20010116011421.A93884@tigerfish2.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I have a MSI 694D Pro mainboard, with the AC'97 built in audio (VIA Apollo Pro 133A chipset). I am running FreeBSD 4.2, XF86-4.0.1_10, fvwm2 2.2.4, and I have MTV 1.1.4. Here is the dmesg bit about the audio: pcm0: port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 18 at device 7.5 on pci0 My problem is that I get an error when attempting to start MTV w/audio, on a mpg that has audio. The problem would appear to be: [93925,1026] mtvp: audio: audioioctl.c:658: t=979629009.0867: opening d vice /dev/dsp [93925,1026] mtvp: audio: audioioctl.c:668: t=979629009.0873: configuring device /dev/dsp [93925,1026] mtvp: audio: audioioctl.c:249: t=979629009.0874: ioctl(24, SNDCTL_DSP_GETCAPS, (135338080=0x8111860) -> (12800=0x3200)) = 0 [93925,1026] mtvp: audio: audioioctl.c:684: t=979629009.0874: device can trigger [93925,1026] mtvp: audio: audioioctl.c:249: t=979629009.0875: ioctl(24, SNDCTL_DSP_SETTRIGGER, (-3=0xfffffffd) -> (-3=0xfffffffd)) = 0 [93925,1026] mtvp: audio: audioioctl.c:420: t=979629009.0876: setting frag size to 1024 bytes [93925,1026] mtvp: audio: audioioctl.c:249: t=979629009.0884: ioctl(24, SNDCTL_DSP_SETFRAGMENT, (2147418122=0x7fff000a) -> (8388618=0x80000a)) = 0 [93925,1026] mtvp: audio: audioioctl.c:428: t=979629009.0886: SNDCTL_DSP_SETFRAGMENT (set frag size to 1024) returned 0 [93925,1026] mtvp: audio: audioioctl.c:253: t=979629009.0886: ioctl(24, SNDCTL_DSP_GETOSPACE, ...) = 0 [93925,1026] mtvp: audio: audioioctl.c:249: t=979629009.0887: ioctl(24, SNDCTL_DSP_SAMPLESIZE, (16=0x10) -> (16=0x10)) = -1 [93925,1026] mtvp: audio: audioioctl.c:256: t=979629009.0887: error: ioctl failed: Invalid argument (status=22) [93925,1026] mtvp: audio: audiolib.c:2864: t=979629009.0894: error: couldn't open and configure device with output sampling frequency: 5333, error 22: Invalid argument (status=22) Or, the ioctl with SNDCTL_DSP_SAMPLESIZE is what is failing. Is anybody else encountering this problem? Work arounds? Fixes? Suggestions? Thanks, Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message