Commit 311679fb authored by Thomas Guillem's avatar Thomas Guillem
Browse files

ATV: don't restart audio when changing passthrough settings

Since VLC can handle passthrough changes during playback.
parent 51760d65
...@@ -136,10 +136,6 @@ ...@@ -136,10 +136,6 @@
[vpc setAudioPassthrough:bValue]; [vpc setAudioPassthrough:bValue];
[defaults setBool:bValue forKey:kVLCSettingUseSPDIF]; [defaults setBool:bValue forKey:kVLCSettingUseSPDIF];
/* restart the audio output */
NSInteger currentAudioTrackIndex = [vpc indexOfCurrentAudioTrack];
[vpc selectAudioTrackAtIndex:0];
[vpc selectAudioTrackAtIndex:currentAudioTrackIndex];
} else { } else {
[vpc selectAudioTrackAtIndex:row]; [vpc selectAudioTrackAtIndex:row];
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment