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