Skip to contentSkip to conversation

limits

DISCUSSION Florin Andrei 3 participants 5 messages Jun 6, 2004 – Jun 7, 2004

lore
Share & tools
lore
#0 lore raw

What's the max number of cards in a system that can be used by ALSA simultaneously?
What's the max number of MIDI ports that's supported by ALSA? What are other similar limits?

The answers to the questions above - are they in the docs? If yes, where? (i couldn't find anything related)

Signature · 8 lines
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
Quoted 1 line

From Windows to Linux, servers to mobile, InstallShield X is the one

installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504

#1 lore raw
Quoted 2 lines · Florin Andrei

What's the max number of cards in a system that can be used by ALSA simultaneously?

8

Quoted 1 line

What's the max number of MIDI ports that's supported by ALSA?

There can be up to 8 rawmidi devices per card, but each device can have an unlimited number of subdevices.

OSS emulation supports 2 ports per card (/dev/midi0X, /dev/amidi0X).

There can be up to 192 sequencer clients (64 each for kernel, drivers (8*8), and applications), and each can have up to 254 ports.

Quoted 1 line

What are other similar limits?

Up to 8 playback and 8 capture PCM devices per card, with unlimited number of subdevices.

Up to 8 sequencer queues.

Quoted 1 line

The answers to the questions above - are they in the docs?

Use the Source, Luke! :-)

HTH
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

Quoted 1 line

From Windows to Linux, servers to mobile, InstallShield X is the one

installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504

#2 lore raw
Quoted 7 lines · Clemens Ladisch
Quoted 4 lines · Florin Andrei

What's the max number of cards in a system that can be used by ALSA simultaneously?

The answers to the questions above - are they in the docs?

Use the Source, Luke! :-)

Note that applications shouldn't rely on these limits, because we can change the driver code to support more cards/devices/sequencer queues etc. in future.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.

Quoted 1 line

From Windows to Linux, servers to mobile, InstallShield X is the one

installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504

#3 lore raw
Quoted 9 lines · Jaroslav Kysela
Quoted 7 lines · Clemens Ladisch
Quoted 4 lines · Florin Andrei

What's the max number of cards in a system that can be used by ALSA simultaneously?

The answers to the questions above - are they in the docs?

Use the Source, Luke! :-)

Well, now that ALSA has gone mainstream, perhaps "use the source" is not the most appropriate answer anymore. See below for details.

Quoted 3 lines

Note that applications shouldn't rely on these limits, because we can change the driver code to support more cards/devices/sequencer queues etc. in future.

I was asking purely from a "simple user"'s perspective. See for example this message:

http://groups.yahoo.com/group/alesis-ion/message/4129

So people actually hit various driver limits. It was relatively easy to find that kind of info about the Microsoft drivers, but the ALSA documentation is a bit lacking on that.

Signature · 11 lines
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
#4 lore raw
In reply to Clemens Ladisch
Quoted 6 lines · Clemens Ladisch
Quoted 1 line · Florin Andrei

What's the max number of MIDI ports that's supported by ALSA?

There can be up to 8 rawmidi devices per card, but each device can have an unlimited number of subdevices.

What does that mean in plain english? Does it mean that i can hook up max 64 MIDI devices to my system?
What's the difference between rawmidi device and subdevice, from a user's perspective?

Signature · 11 lines
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org