All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Jander <manuel.jander@usm.cl>
To: Raymond <rayau@netvigator.com>,
	alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: au88x0 - arecord, aoss
Date: Wed, 30 Mar 2005 04:11:30 -0400	[thread overview]
Message-ID: <1112170290.3207.15.camel@localhost> (raw)
In-Reply-To: <424988D4.2070805@netvigator.com>

Hi,

On Wed, 2005-03-30 at 00:56 +0800, Raymond wrote:
> Although au88x0 support hardware mixing, there is only one pair of
> AC97 input CODECIN(0), CODECIN(1) for capturing stereo sound using hw:0,0

Yes, you just get the same stuff recorded from different PCM's. In
theory, if ALSA would support it, we could record from the codec, and
other sources  like SPDIF, serial interfaces, etc. at the same time, but
ALSA currently lacks a generic mechanism to route individual PCM's, I
mean, some how to tell the PCM, "use that specific source".
By the way, the same applies for playback, with different audio outputs,
where we currently just use different PCM's, in order to implicitly tell
ALSA what audio output we want.

> # more /proc/asound/au8830/pcm0c/info
> card: 0
> device: 0
> subdevice: 0
> stream: CAPTURE
> id: AU88x0 ADB
> name: adb
> subname: subdevice #0
> class: 0
> subclass: 0
> subdevices_count: 32
> subdevices_avail: 32
> 
> 
> It seem that multiple instances of arecord can be run at the same time.
> 1) Is this a bug ?

If the result does not cause your PC to blow up... i guess not.
The 32 ADB DMA streams are shared between all presently working PCM's
(since the WT DMA streams are not working). They are assigned
dinamically, thanks to the au88x0 resource manager (tm). If some
requested resource (DMA, samplerate converter, mixer, or whatever) is
not available, then you just get a error (AFAIK, device busy). If your
retry and some got available, then it proceeds.

> 2) Do we need to define snd_vortex_capture_hw_adb to prevent multiple
> programs perform recording while allowing multiple playback for ALSA and
> OSS emulation ?

Again, if it really does not bother anyone, why bother changing it ?
Adding uneeded constraints, would limit the users creativity. I used
this features once to setup a multitap delayorama, just using multiple
XMMS, arecord and aplay. That was really cool ;)

Best Regards,
-- 
Manuel Jander
Dipl.-Ing. Fachrichtung Elektronik



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-03-30  8:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29 16:56 au88x0 - arecord, aoss Raymond
2005-03-30  8:11 ` Manuel Jander [this message]
2005-03-30  8:07   ` Jaroslav Kysela
2005-04-01 12:16   ` Raymond

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=1112170290.3207.15.camel@localhost \
    --to=manuel.jander@usm.cl \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mjander@users.sourceforge.net \
    --cc=rayau@netvigator.com \
    /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.