[−][src]Constant aaudio_sys::ERROR_DISCONNECTED
pub const ERROR_DISCONNECTED: i32 = ERROR_BASE + 1; // -899i32
The audio device was disconnected. This could occur, for example, when headphones are plugged in or unplugged. The stream cannot be used after the device is disconnected. Applications should stop and close the stream. If this error is received in an error callback then another thread should be used to stop and close the stream.