Skip to contentSkip to conversation

Maximum number of sound devices

DISCUSSION Robert Dunn 3 participants 3 messages Aug 14, 2005 – Aug 15, 2005

lore
Share & tools
lore
#0 lore raw

What is the maximum number of capture devices ALSA supports?

I have spent the last hour or so, googing for an answer with no success.

The problem I have is a USB audio capture device. The first eight work perfrect. The 9th device on do not create /dev/dspX entries, and it appears that ALSA is limited to 8 devices.

Thanks for any help in advance.

Robert J. Dunn
[email protected]

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#1 lore raw
Quoted 4 lines · Robert Dunn

What is the maximum number of capture devices ALSA supports?

I have spent the last hour or so, googing for an answer with no success.

Quoted 9 lines

The problem I have is a USB audio capture device. The first eight work perfrect. The 9th device on do not create /dev/dspX entries, and it appears that ALSA is limited to 8 devices.

Thanks for any help in advance.

Robert J. Dunn
[email protected]

The default is 8, but it can be changed with a module option for module "snd" See "modinfo snd"

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#2 lore raw
Quoted 2 lines
Quoted 1 line · Robert Dunn

What is the maximum number of capture devices ALSA supports?

ALSA supports up to 8 sound cards, and up to 8 devices on one sound card. (It's possible to increase the latter number by using subdevices.)

It may be possible to hack the snd-usb-audio driver so that it pretends that multiple USB devices are one sound card.

Quoted 2 lines · James Courtier-Dutton

The default is 8, but it can be changed with a module option for module "snd"

But it cannot be increased beyond 8 (as long as ALSA uses static device number allocation for its 8-bit minor numbers).

Regards,
Clemens

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf