mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Non-blocking MIDI player #1520
This commit is contained in:
@@ -397,8 +397,8 @@ public partial class ViewerPanel : UserControl, IDisposable, INotifyPropertyChan
|
||||
if (audioCodec?.Equals("MIDI", StringComparison.OrdinalIgnoreCase) ?? false)
|
||||
{
|
||||
_midiPlayer = new MidiPlayer(this, _context);
|
||||
_midiPlayer.LoadAndPlay(path, info);
|
||||
return; // MIDI player will handle the playback at all
|
||||
_midiPlayer.LoadAndPlay(path);
|
||||
return; // Midi player will handle the playback at all
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user