Model AudioOutput
std/audio/host::AudioOutput
Based on core/audio::AudioOutput
Parameters
↳ const early_end: bool = true
Represents host audio system output.
It uses the default output device available.
When early_end
is set to true
, the output is closed as soon as processing is done, without taking care all sound has been played, when to false
, the output waits for all sound streams to be send to the system before exiting.
This parameter should be turned to false
especially when playing audio files that are fast to read and process, while they may contain long audio duration.