Hi, I've got a strange problem with recording on my system. The problem appears to have started since I upgraded my 5.4-Release system today to 5.4p2.
I'm using a Vibra128 soundcard & have the following devices: daemon:~ % ll /dev/dsp* crw-rw-rw- 1 root wheel 30, 3 Jun 10 20:12 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 Jun 10 19:23 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 Jun 10 20:37 /dev/dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 Jun 10 19:23 /dev/dsp0.3 crw-rw-rw- 1 root wheel 30, 5 Jun 10 19:23 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 Jun 10 19:23 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 Jun 10 19:23 /dev/dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 Jun 10 19:23 /dev/dspW0.3 crw-rw-rw- 1 root wheel 30, 11 Jun 10 19:23 /dev/dspr0.0 Also, I have the following in /boot/loader.conf: snd_es137x_load="YES" #ESS1370 (VIBRA128) sound card driver hw.snd.pcm0.vchans="4" hw.snd.maxautovchans="4" Sound playback is working fine - I use kde & have artsd set to use /dev/dsp0.2 I use Audacity to record with and this is where I have trouble - playback in it works, but today, I can't record. Starting it from the commandline, it gives the following output: PaHost_OpenStream: could not open /dev/dsp for O_RDWR PaHost_OpenStream: ERROR - result = -10000 PaHost_OpenStream: could not open /dev/dsp for O_RDONLY PaHost_OpenStream: ERROR - result = -10000 and the record device selection is disabled & no recording is possible. In the audacity preferences dialogue, you can only ever choose /dev/dsp as the device for playback & for recording. However, in my .audacity file, I had: PlaybackDevice=/dev/dsp0.1 RecordingDevice=/dev/dsp0.1 Until today, this has always worked, now suddenly I can't record! I noticed there is no /dev/dsp file - I thought there was one before. So I tried the following: #cd /dev # rm /dev/dsp rm: /dev/dsp: No such file or directory # ln -s /dev/dsp0 /dev/dsp ln: /dev/dsp: File exists # sudo rm /dev/dsp rm: /dev/dsp: No such file or directory # sudo ln -s /dev/dsp0 /dev/dsp ln: /dev/dsp: File exists That doesn't seem to make any sense at all! I guess this might be an audacity issue (I have tried rebuilding it, but it made no difference), but I'm pretty sure it's only since I upgraded to 5.4p2 that the problem has occurred. I can use the artsdsp audacity command to run audacity & record, but I prefer not to because the waveform display misbehaves when I do that & it worked just fine the other way before. Any suggestions? Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
pgpnNifu7miEZ.pgp
Description: PGP signature