Re: gnome Microphone
On 12/01/2010 04:47 PM, Camaleón wrote:
On Wed, 01 Dec 2010 14:58:37 +0800, Bob wrote:
Hi I'm trying to get the inbuilt mic on my USB webcam to be the default
mike so it works in pidgin, empathy, sound recorder& other
Maybe your best chance is by editing your "~/.asoundrc" file.
You can use these samples as start point:
Despite my previous experiences that was actually pretty easy.
0 [Live ]: EMU10K1 - SB Live! Value [CT4832]
SB Live! Value [CT4832] (rev.8,
serial:0x80271102) at 0xec00, irq 21
1 [U0x46d0x8ce ]: USB-Audio - USB Device 0x46d:0x8ce
USB Device 0x46d:0x8ce at usb-0000:00:12.1-3.2,
to identify my USB sound device
arecord -D hw:U0x46d0x8ce -d 20 test1.wav
Recording WAVE 'test1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:1053: Sample format non available
that error message says U8 format isn't available from my webcam but
S16_LE is, so
arecord -f S16_LE -D hw:U0x46d0x8ce -d 20 test1.wav
arecord -f S16_LE -D hw:1,0 -d 20 test2.wav
both worked, the later is to check the mic can be referenced more
generally so it should continue to work even if I change webcams.
then I just put the text into ~/.asoundrc exactly as they said
then as root
I already have
options snd-usb-audio index=-2
at the bottom of /etc/modprobe.d/alsa-base.conf to stop USB sound
devices becoming default.
So bingo, thanks for the help.