projects
/
nihav-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41e4135
)
sndplay: typo
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 5 Apr 2021 16:11:57 +0000
(18:11 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 5 Apr 2021 16:32:22 +0000
(18:32 +0200)
sndplay/src/main.rs
patch
|
blob
|
blame
|
history
diff --git
a/sndplay/src/main.rs
b/sndplay/src/main.rs
index bdd64dcdaa60a4a501917f622a607e2a02f10686..a5fc6ff29b2648b44a69442d883d91e5c81fc82f 100644
(file)
--- a/
sndplay/src/main.rs
+++ b/
sndplay/src/main.rs
@@
-308,7
+308,7
@@
impl Player {
let ch = ainfo.channels;
println!("Playing {} [{}Hz {}ch]", name, arate, ch);
- let ret = AudioDevice::open(arate, ch.m
ax
(2));
+ let ret = AudioDevice::open(arate, ch.m
in
(2));
if ret.is_none() {
println!("cannot open output");
return;