Re: sound devices
- From: ArameFarpado <a-farpado.spam@xxxxxxxxxx>
- Date: Sat, 02 Jun 2007 17:53:42 +0100
Em Sábado, 2 de Junho de 2007 17:43, Marc escreveu:
Hi,
I have a strange sound problem.
In order to get sound in tvtime, I use
sox -r 32000 -w -t alsa hw:2,0 -t alsa hw:0,0
Sometimes I get no sound, and when I check my sound devices with
marc@M1:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC
ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5 -
MIC2 ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Audio [GN Netcom USB Digital Audio], device 0: USB Audio [USB
Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I see that the SAA7134 and the GN netcom USB headset device changed card
nr --> GN netcom becomes card 1 and SAA7134 becomes card 2
I did not unplug the USB headset, so this cannot be the reason.
In order to get sound again, I have to kill sox and start it again with
the correct SAA card nr.
As this happens regularly, it is getting annoying.
Is there a way to fix the card nr of the SAA, so I don't have to change
sox ?
Set you devices order in /etc/modprobe.conf
with the index parameter...
sintaxe example
options [module of 1st sound card] index=0
options snd-usb-audio index=1
options[other module] index=2
and so on
other tips; index=-2 will not set the device order, it just prevents that it
get the 1st place.
regards
ArameFarpado
.
- Follow-Ups:
- Re: sound devices
- From: Marc
- Re: sound devices
- References:
- sound devices
- From: Marc
- sound devices
- Prev by Date: sound devices
- Next by Date: Re: Which OS to just to run WEB Browser
- Previous by thread: sound devices
- Next by thread: Re: sound devices
- Index(es):
Relevant Pages
|