Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: Asynchronous ALSA - callback and latency questions
Date: Tue, 09 Sep 2014 13:23:50 +0200	[thread overview]
Message-ID: <540EE346.3050908@ladisch.de> (raw)
In-Reply-To: <901056793.444760.1410259814514.open-xchange@upcmail.upc.nl>

Bram Bos wrote:
>>>>> I’m using ALSA for building a performance musical instrument, so I’m
>>>>> after
>>>>> low-latency audio output.
>>>>>
>>>>> 1. I’m using asynchronous audio output (i.e. using a callback).
>>>>
>>>> Don't.
>>>
>>> That's an interesting insight. I reckoned using a callback was the most elegant
>>> solution since that's what I'm used to for DirectSound, iOS, OSX, WMME, ASIO etc.
>>
>> If you want to go in that direction, just use JACK.
>
> And the next best alternative would be blocked-mode/polling through ALSA, then?

Yes.  (That's what Jack uses; with full duplex, you already need to handle
multiple devices.)


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

      reply	other threads:[~2014-09-09 11:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 16:03 Asynchronous ALSA - callback and latency questions Bram Bos
2014-09-09  8:24 ` Clemens Ladisch
2014-09-09  8:44   ` Bram Bos
2014-09-09  8:53     ` Takashi Iwai
2014-09-09 10:50       ` Bram Bos
2014-09-09 11:23         ` Clemens Ladisch [this message]

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=540EE346.3050908@ladisch.de \
    --to=clemens@ladisch.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox