Stop currently playing song when starting a new one

This commit is contained in:
bjorn.olievier 2008-04-08 17:46:46 +00:00
parent 3eb803a4f3
commit 32d024e825

View File

@ -88,6 +88,12 @@ void Transport::Start(const utfstring path)
if (success)
{
this->PlaybackStartedOk();
// Stop currently playing song if any
if (this->openStreams.size() > 1)
{
this->Stop(0);
}
}
else
{