Fix warnings in asio_sys (#779)

* Fixed warnings using deprecated Error::description

* Allowed dead_code
This commit is contained in:
Dickless 2023-07-21 04:53:45 +09:00 • committed by GitHub
parent 19991d3607
commit d0ff4fe91f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 32 deletions

View file

@ -26,6 +26,7 @@ pub struct Stream {
playing: Arc<AtomicBool>,
// Ensure the `Driver` does not terminate until the last stream is dropped.
driver: Arc<sys::Driver>,
#[allow(dead_code)]
asio_streams: Arc<Mutex<sys::AsioStreams>>,
callback_id: sys::CallbackId,
}