All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bram Bos <bos3@upcmail.nl>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Asynchronous ALSA - callback and latency questions
Date: Tue, 9 Sep 2014 12:50:14 +0200 (CEST)	[thread overview]
Message-ID: <901056793.444760.1410259814514.open-xchange@upcmail.upc.nl> (raw)
In-Reply-To: <s5ha969fa4c.wl-tiwai@suse.de>

> > > > 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?

I'd prefer to have as few software interface layer dependencies as comfortably
possible, so if I can get away with using only ALSA without requiring JACK that
would be a plus for me.

Thanks
Bram
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2014-09-09 10:50 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 [this message]
2014-09-09 11:23         ` Clemens Ladisch

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=901056793.444760.1410259814514.open-xchange@upcmail.upc.nl \
    --to=bos3@upcmail.nl \
    --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.