At Fri, 14 Dec 2007 14:02:42 -0800, Rudy wrote: > Watanabe Kazuhiro wrote: > > At Thu, 13 Dec 2007 12:16:45 -0800, > > Rudy wrote: > >> Watanabe Kazuhiro wrote: > >>> Hi. > >>> > >>> At Tue, 11 Dec 2007 22:16:58 -0800, > >>> Rudy wrote: > >>>>> After reading some more man pages, I am still stumped but can better > >>>>> phrase my question: > >>>>> how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default > >>>>> INPUT? > >> ... > >> > >>> Audacity will be able to specify a different dsp device for the > >>> recording and playback device via the "Audacity Preferences" panel > >>> ("Edit" -> "Preferences" -> "Audio I/O"); e.g. /dev/dsp0 for playback, > >>> and /dev/dsp1 for recording. > >>> > >>> Have you tried such configulation? > >>> --- > >>> Watanabe Kazuhiro ([EMAIL PROTECTED]) > >> No luck. I only see '/dev/dsp'. It seems that dsp likes to automatically > >> do stuff, but is not > >> smart enough to always do the right thing. > > > > OK. My understanding is: > > > > * There is /dev/dsp0 which corresponds to pcm0 (snd_hda). > > > > * /dev/dsp and /dev/dsp0 are the same. e.g.: > > > > $ ls -l /dev/dsp /dev/dsp0 > > crw-rw-rw- 1 root wheel 0, 83 Dec 14 20:55 /dev/dsp > > crw-rw-rw- 1 root wheel 0, 83 Dec 14 20:55 /dev/dsp0 > > $ > > > > * There is no /dev/dsp1. But there is /dev/dsp1.1 which corresponds > > to pcm1 (snd_uaudio). > > > > If these are correct, will you try to make a symlink /dev/dsp1 which > > points to /dev/dsp1.1 via devfs.conf(5)? i.e. Add the following line > > to /etc/devfs.conf and then reboot the system: > > > > link dsp1.1 dsp1 > > > > I entered these lines: > > # attempt to override the dsp0 input with the dsp1 input... doesn't work > link dsp1.1 dsp0.1 > # this didn't do anything > link dsp1.1 dsp1 > # this works... wanted to make sure I could do something. :) > link dsp1.1 microphone > > and ran > /etc/rc.d/devfs restart > > # ll /dev/ | grep dsp > crw-rw-rw- 1 root wheel 0, 121 Dec 14 13:55 /dev/dsp0.0 > crw-rw-rw- 1 root wheel 0, 122 Dec 14 09:33 /dev/dsp0.1 > crw-rw-rw- 1 root wheel 0, 126 Dec 14 09:33 /dev/dsp0.2 > crw-rw-rw- 1 root wheel 0, 145 Dec 14 09:31 /dev/dsp1.0 > crw-rw-rw- 1 root wheel 0, 144 Dec 14 09:31 /dev/dsp1.1 > lrwxr-xr-x 1 root wheel 6 Dec 14 13:52 /dev/microphone -> dsp1.1 > > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: <NVidia MCP51 High Definition Audio Controller> at memory 0xfe024000 > irq 21 kld snd_hda > [20071129_0050] [MPSAFE] (1p:2v/1r:1v channels duplex default) > pcm1: <USB Audio> at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels) > mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz > > ######### pcm0 is the motherboard sound/mic/lineout/etc > ######### pcm1 is the usb mircophone > > # cd /dev > # ln -s dsp1.1 dsp0.111 > # ln -s dsp1.1 dsp0.1 > # ll dsp* > crw-rw-rw- 1 root wheel 0, 121 Dec 14 14:01 dsp0.0 > lrwxr-xr-x 1 root wheel 6 Dec 14 14:01 dsp0.111 -> dsp1.1 > crw-rw-rw- 1 root wheel 0, 126 Dec 14 09:33 dsp0.2 > crw-rw-rw- 1 root wheel 0, 149 Dec 14 09:31 dsp1.0 > crw-rw-rw- 1 root wheel 0, 144 Dec 14 09:31 dsp1.1 > > I can't seem to force the dsp1.1 to be the dsp0.1 > > :(
Hmm... I don't know what to do any more. Sorry. As a last proposal, how about audacity-devel (ports/audio/audacity-devel)? AFAIK, there is a limitation for the stable version of Audacity (ports/audio/audacity) to use USB microphones. See the URLs below. USB-microphone in Open Sound System http://audacityteam.org/wiki/index.php?title=USB_mic_on_Linux#USB-microphone_in_Open_Sound_System [Portaudio] Prompting for all output and input devices separately http://techweb.rfa.org/pipermail/portaudio/2006-February/005237.html I don't know whether the limitation is applied to FreeBSD or not. --- Watanabe Kazuhiro ([EMAIL PROTECTED]) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"