returns the index of the default output device returns -1 if there are no devices or if you never called ::soundio_flush_events.
See Implementation
returns the index of the default output device returns -1 if there are no devices or if you never called ::soundio_flush_events.