Use an explicit 'is_running' flag in the sndio back end. Correct/improve some sndio documentation.

This commit is contained in:
Mike Brady
2024-07-22 10:28:30 +01:00
parent 10b965a7aa
commit 597aba0ca6
3 changed files with 65 additions and 38 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ pw =
// --with-sndio
sndio =
{
// device = "snd/0"; // optional setting to set the name of the output device. Default is the sndio system default.
// device = "default"; // optional setting to set the name of the output device, e.g. "rsnd/0", "rsnd/1", etc.
// rate = 44100; // optional setting which can be 44100, 88200, 176400 or 352800, but the device must have the capability. Default is 44100.
// format = "S16"; // optional setting which can be "U8", "S8", "S16", "S24", "S24_3LE", "S24_3BE" or "S32", but the device must have the capability. Except where stated using (*LE or *BE), endianness matches that of the processor.
// round = <number>; // advanced optional setting to set the period size near to this value