From owner-freebsd-multimedia Wed Apr 18 5:16: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id CB8A637B424; Wed, 18 Apr 2001 05:16:01 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14pqsK-000PmV-00; Wed, 18 Apr 2001 13:16:00 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f3ICG0v09095; Wed, 18 Apr 2001 13:16:00 +0100 (BST) (envelope-from jcm) Date: Wed, 18 Apr 2001 13:16:00 +0100 From: j mckitrick To: freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org Subject: problem playing .wav files Message-ID: <20010418131600.A8879@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here is a problem I have had with pcm. I have a Toshiba 4010CDT with the Yamaha OPL3-SAx sound system. I can play .au files fine, and other sound seems to work fine. When I use XMMS, .wav files play, but slowly, and they are clipped at the end. This feature (.wav files) has not worked for me since 4.0. here is some info. First, the relevant lines from the kernel config. # sound #device pcm device pcm0 at isa? port ? irq 5 drq 1 flags 0x15 # try this next #device pcm at isa? port ? irq 5 drq 1 flags 0x13 #device pcm0 at isa? port ? irq 5 drq 1 flags 0x0 # try this next local:~> !cat cat /dev/sndstat FreeBSD Audio Driver (newpcm) Mar 31 2001 18:40:18 Installed devices: pcm0: at io 0x530 irq 5 drq 1:5 (1p/1r channels duplex) local:~> dmesg|tail pcm0: at port 0x530-0x537,0x538-0x539 irq 5 drq 1 flags 0xc1 15 on isa0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled , default to accept, logging limited to 10 packets/entry by default pccard: card inserted, slot 1 ata1-slave: ata_command: timeout waiting for intr ata1-slave: identify failed ad0: 4126MB [8944/15/63] at ata0-master UDMA33 acd0: CDROM at ata1-master using WDMA2 Mounting root from ufs:/dev/ad0s1a sio1 at port 0x2f8-0x2ff irq 3 slot 1 on pccard1 sio1: type 16550A local:~> truss output of 'play' open("/etc/ppp/smoking.wav",0,027757776254) = 3 (0x3) read(0x3,0x804bd00,0x2c) = 44 (0x2c) open("/dev/dsp",1,027757776240) = 4 (0x4) ioctl(4,SNDCTL_DSP_GETBLKSIZE,0xbfbffbd8) = 0 (0x0) ioctl(4,SNDCTL_DSP_SETFMT,0x804bd20) ERR#22 'Invalid argument' play: write(2,0xbfbff434,6) = 6 (0x6) /dev/dspwrite(2,0xbfbff464,8) = 8 (0x8) : write(2,0xbfbff424,2) = 2 (0x2) Invalid argument write(2,0xbfbff424,17) = 17 (0x11) close(4) = 0 (0x0) sigprocmask(0x1,0x2805c780,0xbfbffbe8) = 0 (0x0) sigprocmask(0x3,0x2805c790,0x0) = 0 (0x0) exit(0x0) process exit, rval = 0 local:~> Is there any other info I could provide that might help solve this problem? jm -- ----------------------------------------------------------- Jonathon McKitrick -- jcm@freebsd-uk.eu.org Bill's Law - "The speed of Windows halves every 18 months." ----------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message