Hi Bob, hi Ralf,

>> hw0 hamerfall dsp
>> hw 0.0 hamerfall 9652          (this is selected)
>>
>>
>> Why is there two? only one card on here
> 
> Hi Bob :)
> 
> this isn't for two cards, both are hw:0, a second card would be hw:<any
> other number but 0>. I don't know what it's good for, but I've got this
> for my cards too.

I've just been writing about this topic in the Campcaster manual:

http://en.flossmanuals.net/Campcaster/ConfiguringSoundcards

Each device of ALSA hardware has a card number *and* a device number.
The first hardware card in the system is given the name:

hw:0

Each item of audio hardware can sometimes have multiple devices, also
numbered from zero upwards. The card number and device number are
separated by a comma. Often, there's only one device per card, so the
first card and the first device on that card is referred to as:

hw:0,0

Some audio interfaces have both analogue outputs (line level) and
digital audio outputs (such as S/PDIF), on the same card. To check which
device has which number, we can use the aplay command:

$ aplay -l

The terminal might display something like:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1 Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1 Subdevice #0: subdevice #0
card 1: Aureon51MkII [Aureon5.1MkII], device 0: USB Audio [USB Audio]
Subdevices: 1/1

In this example, the internal soundcard (hw:0) is an Intel HDA, and the
external USB card (hw:1) is an Aureon 5.1 MkII. On the internal Intel
HDA card, two separate devices are listed. The first, hw:0,0 is shown as
the analog output device, and the second, hw:0,1 is shown as the digital
output device.

Cheers!

Daniel
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to