Skip to content

Commit

Permalink
AE: flush engine when sink gets reconfigured
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Feb 13, 2016
1 parent 905e593 commit 7b68d13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
Expand Up @@ -1106,6 +1106,7 @@ void CActiveAE::Configure(AEAudioFormat *desiredFmt)
m_currDevice.compare(device) != 0 ||
m_settings.driver.compare(driver) != 0)
{
FlushEngine();
if (!InitSink())
return;
m_settings.driver = driver;
Expand Down

0 comments on commit 7b68d13

Please sign in to comment.