Re: how to select default audio device in KDE
Florian Kulzer wrote:
> On Sun, Nov 16, 2008 at 15:47:52 -0500, H.S. wrote:
>> Florian Kulzer wrote:
>>>> This is what I have in override device location box: hw:1,0
>
> [...]
>
>> This worked:
>> plughw:1,0
>>
>> Looks like USB devices should be plughw.
>
> OK, good to know.
>
>> However, even though sound test from KDE's sound system dialog works,
>> Mozilla still sends the audio to the external speakers (internal card)
>> and not to the USB headset. Any ideas?
>
> I would try to use ~/.asoundrc to make the USB headset the default PCM
> device:
>
> http://alsa.opensrc.org/index.php/.asoundrc#Default_PCM_device
>
Yes, that helped. From the aplay command (see further below), I put this
in my ~/.asoundrc:
$> cat ~/.asoundrc
pcm.!default front:default
and then restarted Mozilla browser and its video's then used the headset
for audio. So that went well. However, audacious still play audio from
the internal card. I am not sure how the .asoundrc is supposed to work.
Doesn't it just send all audio to the one selected in it?
Thanks.
Regards.
$> aplay -L
default:CARD=AudioPCI
Ensoniq AudioPCI, ES1371 DAC2/ADC
Default Audio Device
front:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
Front speakers
surround40:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=default
Microsoft LifeChat LX-3000 , USB Audio
Default Audio Device
front:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
Front speakers
surround40:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=default,DEV=0
Microsoft LifeChat LX-3000 , USB Audio
IEC958 (S/PDIF) Digital Audio Output
--
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
Reply to: