Date: Mon, 20 May 2002 10:17:53 +0300 (EET DST) From: tnu@chania.di.uoa.gr To: freebsd-questions@freebsd.org Subject: 4.6-PRERELEASE "Weird" Sound problems Message-ID: <Pine.GSO.4.44.0205201017160.25823-100000@chania.di.uoa.gr>
next in thread | raw e-mail | index | archive | help
Hi all. I 've come up against a rather "irritating" issue regarding my sound card and several sound applications. I cannot play sound files that have the following format: 11025Hz, 16(LSB), Mono. TO be exact, the only thing that I hear instead of the recorded content is a repeated sound reminding footsteps whose total length is equal to the proper length of the wave file. That happens with the "play" program (play is a front-end for sox). I tried to play the sample file with xwave, but it "hungs" completely. I can record at the specific format via "Save Audio As..." of the fxtv application, but: When I try to record (from the console) with "rec -r 11025 test.wav", I notice two things: 1. The size of test.wav refuses to grow at all (It remains at 0 bytes). 2. The "recording" can't be stopped with SIGINT (normal way) but only with SIGTERM ("impolite" way). The funny (whatever..) thing is that all the other possible combinations work in a happily normal way. Has any of you come up against such a weird problem? [ I hope the following are useful information. ] $ file /tmp/sample.wav /tmp/sample.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 11025 Hz $ uname -r 4.6-PRERELEASE $ dmesg | grep pcm pcm0: <Creative CT5880-C> port 0xd800-0xd83f irq 9 at device 10.0 on pci2 $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <Creative CT5880-C> at io 0xd800 irq 9 (1p/1r/0v channels duplex) $ ls -l /dev/dsp* lrwxrwxrwx 1 root wheel 4 May 18 21:15 /dev/dsp -> dsp0 lrwxrwxrwx 1 root wheel 6 May 18 21:15 /dev/dsp0 -> dsp0.0 crw-rw-rw- 1 root wheel 30, 3 May 18 23:51 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 May 18 21:15 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 May 18 21:15 /dev/dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 May 18 21:15 /dev/dsp0.3 lrwxrwxrwx 1 root wheel 5 May 18 21:15 /dev/dspW -> dspW0 lrwxrwxrwx 1 root wheel 7 May 18 21:15 /dev/dspW0 -> dspW0.0 crw-rw-rw- 1 root wheel 30, 5 May 18 21:15 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 May 18 21:15 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 May 18 21:15 /dev/dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 May 18 21:15 /dev/dspW0.3 $ mpg123 -vvv one-nice-song.mp3 [snip] Audio capabilities: | s16 | u16 | u8 | s8 | ulaw | alaw | -------------------------------------------------------- 8000 | M/S | M/S | M/S | M/S | M/S | M/S | 11025 | M/S | M/S | M/S | M/S | M/S | M/S | 12000 | M/S | M/S | M/S | M/S | M/S | M/S | 16000 | M/S | M/S | M/S | M/S | M/S | M/S | 22050 | M/S | M/S | M/S | M/S | M/S | M/S | 24000 | M/S | M/S | M/S | M/S | M/S | M/S | 32000 | M/S | M/S | M/S | M/S | M/S | M/S | 44100 | M/S | M/S | M/S | M/S | M/S | M/S | 48000 | M/S | M/S | M/S | M/S | M/S | M/S | [snip] $ Note that I recently did a "buildworld" and I didn't have the problem with 4.5-STABLE. Thank you in advance. [ As soon I get this fixed, I can go on trying to play two mp3's simultaneously... ] -- [ Quote #14 from startrek collection. ] Another war ... must it always be so? How many comrades have we lost in this way? ... Obedience. Duty. Death, and more death ... -- Romulan Commander, "Balance of Terror", stardate 1709.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0205201017160.25823-100000>