All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuliano Pochini <pochini@shiny.it>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Syncronous start and stop
Date: Tue, 18 Nov 2003 10:02:54 +0100 (CET)	[thread overview]
Message-ID: <XFMail.20031118100254.pochini@shiny.it> (raw)
In-Reply-To: <Pine.LNX.4.53.0311151929540.1259@pnote.perex-int.cz>


On 15-Nov-2003 Jaroslav Kysela wrote:
> On Sat, 15 Nov 2003, Giuliano Pochini wrote:
>
>> My hardware can start/stop multiple indipendent substreams at the same time.
>> Does the ALSA driver API support that feature ?
>
> Yes, use snd_pcm_set_sync() function in open() callback and add necessary
> code to the trigger() callback. See to alsa-kernel/pci/ens1370.c code for
> more details (this hardware has three streams which can be controlled
> simultaneously) as a good example.

Fine.
Is that feature used by the upper ALSA driver to create multichannel
substreams when the hw hasn't this capability ?  Older Echoaudio
soundcards can only do mono and stereo operation, while newer series can
manage mono and any even number of channels. Since all cards can run any
number of substreams at the same time, I can emulate large substream on
older cards by starting several mono substream simultaneously
(MMAP_NONINTERLEAVED in this case). If the upper layer already has this
feature, I can avoid wasteing my time :)


--
Giuliano.



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl

  reply	other threads:[~2003-11-18  9:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-15 14:21 Syncronous start and stop Giuliano Pochini
2003-11-15 18:32 ` Jaroslav Kysela
2003-11-18  9:02   ` Giuliano Pochini [this message]
2003-11-18  9:11     ` Jaroslav Kysela

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=XFMail.20031118100254.pochini@shiny.it \
    --to=pochini@shiny.it \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perex@suse.cz \
    /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.