All of lore.kernel.org
 help / color / mirror / Atom feed
* questions about card detection
@ 2003-08-29  9:04 Joshua Haberman
  2003-08-29  9:37 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Haberman @ 2003-08-29  9:04 UTC (permalink / raw)
  To: alsa-devel

Two questions.

First: Is it possible to determine the maximum number of channels for a
sound card that is in use by another application?  My method for
detecting the number of channels is:

- open the pcm
- use the hw_params API to determine the number of channels

But if another application has the sound card open, it cannot be opened
again and therefore the hw_params API cannot be used!

Second question: what is the meaning and intended use of the
card,device,subdevice design of ALSA?  I thought this would become clear
to be once I bought a multichannel card, but now I own an Audiophile
2496 and it's still a mystery.

"Card" I understand -- I can hold a card in my hand.  But what is a
"device" and a "subdevice?"  When are they ever used, and how?

Josh


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-29 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29  9:04 questions about card detection Joshua Haberman
2003-08-29  9:37 ` Takashi Iwai
2003-08-29 10:31   ` holborn
2003-08-29 11:13     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.