Hynek Hanke,,, <hanke <at> volny.cz> writes:
>> > > 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>
Hello Team,
Any body successfully run the audio in the non blocking mode.
I too have the same issues.
Please suggest me.
Any sample programs are great help for me.
Thanks and Regards,
Giri