forked from mia/Aegisub
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:
parent
0367fd37d4
commit
4aafee2ac9
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue