All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Shirkey <pshirkey@boosthardware.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Re: How to support multiple open in low-level driver
Date: Tue, 07 Jan 2003 00:52:14 +0900	[thread overview]
Message-ID: <3E19A62E.20402@boosthardware.com> (raw)
In-Reply-To: Pine.LNX.4.33.0301061519390.551-100000@pnote.perex-int.cz

Jaroslav Kysela wrote:

> 
> We use subdevices mainly for hardware which can mix several streams 
> together. It's quite impractical to have 32 devices with exactly same 
> capabilities. The subdevices can be opened without a specific address, so 
> the first free subdevice is opened. Also, we temporary use subdevices for 
> hardware with alot of streams (I/O connectors) - for example MIDI. There 
> are several limits given by used minor numbers (8 PCM devices per card, 8 
> MIDI devices per card etc.).
> 

In the interest of correct documentation how is this explained:

hw:0,0

The first zero is the card number?
The second zero is the device number?

What happens for sound devices that are not cards? For example the usb 
quattro.

Up until now I have rationalised it as the first zero is the device, the 
second zero is the subdevice and the number of streams that the 
subdevice can do hardware mixing for would become the subsubdevices.

 From your message above do I understand we should call every sound 
device a sound card.

-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! 
We want normal music!", I think that was more like acting than anything 
I've ever done.

Goldie, 8 Nov, 2002
The Scotsman



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

  reply	other threads:[~2003-01-06 16:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 22:37 How to support multiple open in low-level driver Anders Torger
2003-01-05 14:34 ` Jaroslav Kysela
2003-01-05 14:48   ` Anders Torger
2003-01-05 15:05     ` Jaroslav Kysela
2003-01-06 14:09       ` Fred Gleason
2003-01-06 14:26         ` Jaroslav Kysela
2003-01-06 15:52           ` Patrick Shirkey [this message]
2003-01-06 16:25             ` Paul Davis
2003-01-06 17:30             ` Jaroslav Kysela
2003-01-06 13:57     ` Justin Cormack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E19A62E.20402@boosthardware.com \
    --to=pshirkey@boosthardware.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.