Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 01:14:21 -0600
From:      Bruce Burden <brucegb@realtime.net>
To:        freebsd-multimedia@freebsd.org
Subject:   MTV, 4.2, X-4.0.1, fvwm2, and audio?
Message-ID:  <20010116011421.A93884@tigerfish2.my.domain>

next in thread | raw e-mail | index | archive | help


   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: <VIA VT82C686A AC'97 Audio> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010116011421.A93884>