For whatever reason, the right-click-to-play-syllable code in karaoke mode was calling the audio player directly, instead of using the usual Play function in the audio display. Fixes #598 for real.

Originally committed to SVN as r3086.
This commit is contained in:
Niels Martin Hansen 2009-06-25 00:32:33 +00:00
parent 0367fd37d4
commit 4aafee2ac9

View file

@ -1522,8 +1522,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
if (syl != -1) {
int start = karaoke->syllables.at(syl).start_time * 10 + dialogue->Start.GetMS();
int count = karaoke->syllables.at(syl).duration * 10;
player->Play(GetSampleAtMS(start),GetSampleAtMS(count));
//return;
Play(start, start+count);
}
}
}