mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix disastrous playback problem
This commit is contained in:
parent
67df3a4723
commit
37bdc531be
|
@ -587,7 +587,7 @@
|
||||||
switch (int tag = [sender tag]) {
|
switch (int tag = [sender tag]) {
|
||||||
case 0: // Play
|
case 0: // Play
|
||||||
VLSoundOut::Instance()->SetPlayRate(playRate = 1.0f);
|
VLSoundOut::Instance()->SetPlayRate(playRate = 1.0f);
|
||||||
if (!nowPlaying)
|
if (!hasMusicSequence || !nowPlaying)
|
||||||
[self play:sender];
|
[self play:sender];
|
||||||
else if (VLSoundOut::Instance()->AtEnd())
|
else if (VLSoundOut::Instance()->AtEnd())
|
||||||
VLSoundOut::Instance()->SetTime(0);
|
VLSoundOut::Instance()->SetTime(0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user