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
beedca2fba
commit
a4573a1c72
1 changed files with 1 additions and 2 deletions
|
@ -1522,8 +1522,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
|
||||||
if (syl != -1) {
|
if (syl != -1) {
|
||||||
int start = karaoke->syllables.at(syl).start_time * 10 + dialogue->Start.GetMS();
|
int start = karaoke->syllables.at(syl).start_time * 10 + dialogue->Start.GetMS();
|
||||||
int count = karaoke->syllables.at(syl).duration * 10;
|
int count = karaoke->syllables.at(syl).duration * 10;
|
||||||
player->Play(GetSampleAtMS(start),GetSampleAtMS(count));
|
Play(start, start+count);
|
||||||
//return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue