mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Remove unnecessary comments, fix typo
This commit is contained in:
parent
52c5b18825
commit
18a6746ac0
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ impl Open for SdlSink {
|
|||
debug!("Using SDL sink");
|
||||
|
||||
if device.is_some() {
|
||||
panic!("SDL sink does not support specifyng a device name");
|
||||
panic!("SDL sink does not support specifying a device name");
|
||||
}
|
||||
|
||||
let ctx = sdl2::init().expect("Could not init SDL");
|
||||
|
@ -22,7 +22,7 @@ impl Open for SdlSink {
|
|||
let desired_spec = AudioSpecDesired {
|
||||
freq: Some(44_100),
|
||||
channels: Some(2),
|
||||
samples: None, // default
|
||||
samples: None,
|
||||
};
|
||||
let queue = audio
|
||||
.open_queue(None, &desired_spec)
|
||||
|
@ -34,7 +34,7 @@ impl Open for SdlSink {
|
|||
|
||||
impl Sink for SdlSink {
|
||||
fn start(&mut self) -> io::Result<()> {
|
||||
self.queue.clear(); //
|
||||
self.queue.clear();
|
||||
self.queue.resume();
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue