Date: Sat, 4 Nov 2000 23:43:58 +0000 From: j mckitrick <jcm@FreeBSD-uk.eu.org> To: stable@freebsd.org, multimedia@freebsd.org Subject: continuing sound problems with 4.2-beta Message-ID: <20001104234358.A48459@dogma.freebsd-uk.eu.org>
next in thread | raw e-mail | index | archive | help
I continue to get 'invalid argument' when using 'play' to play a .wav file. Maybe I am doing something wrong, but I can't figure out what it is. Here is some system output that might help: local:~> truss play /etc/ppp/smoking.wav __sysctl(0xbfbff744,0x2,0x2805c808,0xbfbff740,0x0,0x0) = 0 (0x0) mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671469568 (0x2805d000) geteuid() = 1001 (0x3e9) getuid() = 1001 (0x3e9) getegid() = 0 (0x0) getgid() = 0 (0x0) open("/var/run/ld-elf.so.hints",0,00) = 3 (0x3) read(0x3,0xbfbff724,0x80) = 128 (0x80) lseek(3,0x80,0) = 128 (0x80) read(0x3,0x28061000,0x37) = 55 (0x37) close(3) = 0 (0x0) access("/usr/lib/libc.so.4",0) = 0 (0x0) open("/usr/lib/libc.so.4",0,027757773634) = 3 (0x3) fstat(3,0xbfbff76c) = 0 (0x0) read(0x3,0xbfbfe73c,0x1000) = 4096 (0x1000) mmap(0x0,606208,0x5,0x2,3,0x0) = 671502336 (0x28065000) mmap(0x280e2000,16384,0x3,0x12,3,0x7c000) = 672014336 (0x280e2000) mmap(0x280e6000,77824,0x3,0x1012,-1,0x0) = 672030720 (0x280e6000) close(3) = 0 (0x0) sigaction(SIGILL,0xbfbff7c4,0xbfbff7ac) = 0 (0x0) sigprocmask(0x1,0x0,0x2805c73c) = 0 (0x0) sigaction(SIGILL,0xbfbff7ac,0x0) = 0 (0x0) sigprocmask(0x1,0x2805c700,0xbfbff7ec) = 0 (0x0) sigprocmask(0x3,0x2805c710,0x0) = 0 (0x0) sigaction(SIGINT,0xbfbff7f0,0xbfbff7d8) = 0 (0x0) open("/etc/ppp/smoking.wav",0,027757774250) = 3 (0x3) read(0x3,0x804bc60,0x2c) = 44 (0x2c) open("/dev/dsp",1,027757774234) = 4 (0x4) ioctl(4,SNDCTL_DSP_GETBLKSIZE,0xbfbff7d4) = 0 (0x0) ioctl(4,SNDCTL_DSP_SETFMT,0x804bc80) ERR#22 'Invalid argument' play: write(2,0xbfbff030,6) = 6 (0x6) /dev/dspwrite(2,0xbfbff060,8) = 8 (0x8) : write(2,0xbfbff020,2) = 2 (0x2) Invalid argument write(2,0xbfbff020,17) = 17 (0x11) close(4) = 0 (0x0) sigprocmask(0x1,0x2805c700,0xbfbff7e4) = 0 (0x0) sigprocmask(0x3,0x2805c710,0x0) = 0 (0x0) exit(0x0) process exit, rval = 0 local:~> local:~> cat /dev/sndstat FreeBSD Audio Driver (newpcm) Nov 1 2000 18:37:22 Installed devices: pcm0: <OPL3-SAx (YMF719)> at io 0x530 irq 5 drq 1 (1p/1r channels) local:~> dmesg: pcm0: <OPL3-SAx (YMF719)> at port 0x530-0x537,0x538-0x539 irq 5 drq 1 flags 0xc100 on isa0 local:~> uname -a FreeBSD myname.my.domain 4.2-BETA FreeBSD 4.2-BETA #14: Sat Nov 4 15:59:36 EST 2000 jcm@myname.my.domain:/usr/src/sys/compile/MERCURY i386 local:~> jcm -- "That depends on what the meaning of the word 'is' is." -President Bill Clinton "I don't know what you mean by the word 'ask.'" -CEO Bill Gates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001104234358.A48459>