Rewrite and unbreak sndio backend

This commit is contained in:
Tobias Kortkamp
2017-04-15 02:28:53 +02:00
parent e3dab142cf
commit da12c44978
3 changed files with 224 additions and 53 deletions
+10
View File
@@ -127,6 +127,16 @@ ao =
// audio_backend_buffer_desired_length = 1.0; // Having started to send audio at the right time, send all subsequent audio this much ahead of time, creating a buffer this length.
};
// These are parameters for the "sndio" audio back end. All are optional.
sndio =
{
// device = "snd/0"; // the name of the output device
// rate = 44100; // can be 44100, 88200, 176400 or 352800, but the device must have the capability.
// format = "s16le"; // set output format. can be "u8", "s8", "s16le", "s24le", "s24le3", "s24be3", "s32"
// round = <number>; // set the period size near to this value
// bufsz = <number>; // set the buffer size near to this value
};
// Static latency settings are deprecated and the settings have been removed.