mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 18:29:45 +02:00
Use stream_editor in player
This commit is contained in:
parent
6df2af0ac9
commit
636de3fe71
4 changed files with 17 additions and 9 deletions
|
@ -129,7 +129,7 @@ fn setup(args: &[String]) -> (Session, Player, Box<Mixer + Send>) {
|
|||
let mixer = mixer::find(&mixer_name).unwrap();
|
||||
|
||||
let device_name = matches.opt_str("device");
|
||||
let player = Player::new(session.clone(), move || {
|
||||
let player = Player::new(session.clone(), mixer.get_stream_editor(), move || {
|
||||
(backend)(device_name.as_ref().map(AsRef::as_ref))
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue