mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 06:49:38 +00:00
Remove autoplay setting.
This commit is contained in:
parent
69c5581799
commit
10a9d56ae5
|
@ -35,7 +35,6 @@ impl WinRT {
|
||||||
pub fn new() -> std::result::Result<Self, Error> {
|
pub fn new() -> std::result::Result<Self, Error> {
|
||||||
info!("Initializing WinRT backend");
|
info!("Initializing WinRT backend");
|
||||||
let player = MediaPlayer::new()?;
|
let player = MediaPlayer::new()?;
|
||||||
player.set_auto_play(true)?;
|
|
||||||
let playback_list = MediaPlaybackList::new()?;
|
let playback_list = MediaPlaybackList::new()?;
|
||||||
player.set_source(&playback_list)?;
|
player.set_source(&playback_list)?;
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user