[time-nuts] Lady Heather coming soon to a Linux box near you...
Orin Eman
orin.eman at gmail.com
Thu Apr 21 06:25:37 UTC 2016
On Wed, Apr 20, 2016 at 10:13 PM, Mark Sims <holrum at 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...
More information about the Time-nuts_lists.febo.com
mailing list