feat(v2): add v2_reinit_audio_device command
- Added v2_reinit_audio_device for V2 player device reinitialization - SettingsView now calls both legacy and V2 reinit commands - Converts legacy AudioSettings to qbz_audio::AudioSettings for reload
This commit is contained in:
1 parent
fbba4f25c1
commit
c3a14c1c87
3 files changed
+60
No files matched your search
@@ -1072,6 +1072,8 @@ pub fn run() {
|
||||
commands_v2::v2_set_media_metadata,
|
||||
commands_v2::v2_play_next_gapless,
|
||||
commands_v2::v2_prefetch_track,
|
||||
// Audio device
|
||||
commands_v2::v2_reinit_audio_device,
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
||||
Reference in new issue
Block a user