docs: on_backend_disconnect clarification

This commit is contained in:
Andrew Kelley 2015-09-01 18:40:03 -07:00
parent 2f618487ba
commit 1d2cf2ed59

View file

@ -702,8 +702,10 @@ SOUNDIO_EXPORT bool soundio_have_backend(enum SoundIoBackend backend);
/// information is done elsewhere. It is performant to call this function many
/// times per second.
///
/// When you call this, the SoundIo::on_devices_change might be called. This
/// is the only time can be called.
/// When you call this, the following callbacks might be called:
/// * SoundIo::on_devices_change
/// * SoundIo::on_backend_disconnect
/// This is the only time those callbacks can be called.
///
/// This must be called from the same thread as the thread in which you call
/// these functions: