From: "Hynek Hanke,,," <hanke@volny.cz>
To: Jaroslav Kysela <perex@suse.cz>
Cc: alsa-devel@alsa-project.org
Subject: Re: snd_pcm_drain() always fails
Date: Mon, 1 Aug 2005 20:04:17 +0200 [thread overview]
Message-ID: <20050801180417.GD10144@brailcom.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0508011953060.12402@tm8103.perex-int.cz>
> > Or, what is the correct way to wait until the rest of the sound is
> > played when I'm using the poll() approach?
> Set the blocking mode before drain() is called (and return the mode back
> after it, if you want).
Not possible. I'm waiting for other events (not comming from ALSA) too in the
poll().
> The better way might be setting sw_params to wakeup app after all frames are
> played and use the standard poll() call to wait in app.
How do I do this or where can I read about it? Still, I need to receive other events
too while waiting for the sound to stop playing.
Thank you,
Hynek Hanke
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
next prev parent reply other threads:[~2005-08-01 18:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050801172719.GB10144@brailcom.cz>
2005-08-01 17:57 ` snd_pcm_drain() always fails Jaroslav Kysela
2005-08-01 18:04 ` Hynek Hanke,,, [this message]
2013-12-26 11:02 ` Giridhara
2005-08-01 18:10 ` Hynek Hanke
2005-08-01 18:28 ` Takashi Iwai
2005-08-01 18:36 ` Hynek Hanke
2005-08-01 18:45 ` Takashi Iwai
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=20050801180417.GD10144@brailcom.cz \
--to=hanke@volny.cz \
--cc=alsa-devel@alsa-project.org \
--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.