Skip to contentSkip to conversation

Selecting correct input device port.

DISCUSSION dE 3 participants 7 messages Oct 28, 2014 – Oct 30, 2014

lore
Share & tools
lore

dE

author
#0 lore raw

As I learn't in this mailng list, a device can typically handle only one stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

What does subdevice mean for input device? Do they mark physical ports for input? If not how do I record from a specific input port? Is it automatically selected by the card?

And what's 'input source' in ALSA mixer?

author
#1 lore raw
Quoted 5 lines · dE

As I learn't in this mailng list, a device can typically handle only one stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

What does subdevice mean for input device? Do they mark physical ports for input? If not how do I record from a specific input port? Is it automatically selected by the card?

And what's 'input source' in ALSA mixer?

Pointers to any doc...?

#2 lore raw
In reply to dE

At Tue, 28 Oct 2014 09:57:18 +0530,

Quoted 6 lines · dE

As I learn't in this mailng list, a device can typically handle only one stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

What does subdevice mean for input device?

When a device can do multiplexing, the driver can give multiple substreams (= subdevices).

Quoted 2 lines

Do they mark physical ports
for input? If not how do I record from a specific input port?

You can pass the subdevice number explicity. It's -1 as default, which means to select the next free one.

Quoted 4 lines

Is it
automatically selected by the card?

And what's 'input source' in ALSA mixer?

It's usually a MUX to select the input source, e.g. line in or mic.

Takashi

author
#3 lore raw
Quoted 21 lines · Takashi Iwai

At Tue, 28 Oct 2014 09:57:18 +0530,

Quoted 6 lines · dE

As I learn't in this mailng list, a device can typically handle only one stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

What does subdevice mean for input device?

When a device can do multiplexing, the driver can give multiple substreams (= subdevices).

Quoted 2 lines

Do they mark physical ports
for input? If not how do I record from a specific input port?

You can pass the subdevice number explicity. It's -1 as default, which means to select the next free one.

Quoted 3 lines

Is it
automatically selected by the card?

Quoted 7 lines
Quoted 1 line

And what's 'input source' in ALSA mixer?

It's usually a MUX to select the input source, e.g. line in or mic.

Takashi

Input source for single subdevice right? I've 3 sub device, does it have to do anything with the fact that I've 3 input source in alsamixer? Do the 3 input source mark 3 different subdevices?

By muxing you mean muxing via software the multiple individual (and simultaneous) audio input streams as supported by the cards?

#4 lore raw

2014-10-30 下午12:38 於 "dE" <[email protected]> 寫道:

Quoted 27 lines · Takashi Iwai
Quoted 25 lines

At Tue, 28 Oct 2014 09:57:18 +0530,

Quoted 7 lines · dE

As I learn't in this mailng list, a device can typically handle only one stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

What does subdevice mean for input device?

When a device can do multiplexing, the driver can give multiple substreams (= subdevices).

Quoted 2 lines

Do they mark physical ports
for input? If not how do I record from a specific input port?

You can pass the subdevice number explicity. It's -1 as default, which means to select the next free one.

Quoted 3 lines

Is it
automatically selected by the card?

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

And what's 'input source' in ALSA mixer?

It's usually a MUX to select the input source, e.g. line in or mic.

Input source for single subdevice right? I've 3 sub device, does it have

to do anything with the fact that I've 3 input source in alsamixer? Do the 3 input source mark 3 different subdevices?

So far, only those 10 channel hda codecs have three ADC

Due to recent change in snd-hda-intel, if your desktop previously had three subdevices, the new driver create analog capture device with one subdevice and alt analog capture with two subdevices
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

author
#5 lore raw
Quoted 39 lines · Raymond Yau

2014-10-30 下午12:38 於 "dE" <[email protected] <mailto:[email protected]>> 寫道:

Quoted 8 lines · Takashi Iwai
Quoted 6 lines

At Tue, 28 Oct 2014 09:57:18 +0530,

Quoted 3 lines · dE

As I learn't in this mailng list, a device can typically handle

only one

Quoted 1 line
Quoted 1 line
Quoted 1 line

stream at a time unless it supports hardware mixing which's

exposed via

Quoted 25 lines
Quoted 24 lines
Quoted 3 lines

subdevices in ALSA

What does subdevice mean for input device?

When a device can do multiplexing, the driver can give multiple substreams (= subdevices).

Quoted 2 lines

Do they mark physical ports
for input? If not how do I record from a specific input port?

You can pass the subdevice number explicity. It's -1 as default, which means to select the next free one.

Quoted 4 lines

Is it
automatically selected by the card?

And what's 'input source' in ALSA mixer?

It's usually a MUX to select the input source, e.g. line in or mic.

Quoted 7 lines
Quoted 1 line

Input source for single subdevice right? I've 3 sub device, does it

have to do anything with the fact that I've 3 input source in alsamixer? Do the 3 input source mark 3 different subdevices?

So far, only those 10 channel hda codecs have three ADC

Due to recent change in snd-hda-intel, if your desktop previously had three subdevices, the new driver create analog capture device with one subdevice and alt analog capture with two subdevices

Thanks for clarifying everyone!

Looks like my mobo is bad.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw
In reply to dE
Quoted 2 lines

As I learn't in this mailng list, a device can typically handle only one

stream at a time unless it supports hardware mixing which's exposed via subdevices in ALSA

Quoted 2 lines

What does subdevice mean for input device? Do they mark physical ports

for input? If not how do I record from a specific input port? Is it automatically selected by the card?

Quoted 2 lines

And what's 'input source' in ALSA mixer?

'Input source' usually found in those desktop using hda codec with two or more ADC since hda support multistreaming

Most sound card only support one analog capture device with 'Capture Source' control

Most notebook with hda codec have auto mic enabled by default, the capture source is determined by jack detection