On Wed, Apr 20, 2016 at 10:13 PM, Mark Sims <hol...@hotmail.com> wrote:

>
> One thing that will probably not be supported is sound file support...
> playing .WAV files asynchronously does not seem to come naturally to
> Linux.  Does anybody know of a simple / lazy bastard way to play a sound
> file in the background from a C/C++ program...  I'd really like my GPS
> disciplined singing clock to work.
>


Why not run up a thread and play the sound synchronously in the thread?
I'd use std::thread if in C++ land, otherwise, you are in pthread hell.

If a thread doesn't work, there's always fork/exec...
_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to