Browse Source

Do not call `destroy` explicitly

master
Andreas Linz 5 years ago
parent
commit
e52f088188
3 changed files with 0 additions and 3 deletions
  1. +0
    -1
      examples/sine.rs
  2. +0
    -1
      src/lib.rs
  3. +0
    -1
      tests/stream.rs

+ 0
- 1
examples/sine.rs View File

@ -67,5 +67,4 @@ fn main() {
println!("Unpausing");
out.unpause();
thread::sleep(Duration::new(3, 0));
out.destroy()
}

+ 0
- 1
src/lib.rs View File

@ -23,7 +23,6 @@
//! // start the audio stream and wait for events
//! // out.start().unwrap();
//! // loop { sio.wait_events(); }
//! out.destroy();
//! ```
mod ffi;

+ 0
- 1
tests/stream.rs View File

@ -50,5 +50,4 @@ fn test_outstream() {
assert!(stream.unpause().is_none());
assert!(stream.clear_buffer().is_none());
thread::sleep(Duration::new(1, 0));
stream.destroy();
}

Loading…
Cancel
Save