mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Tempo changes should not call willChangeSong
This commit is contained in:
parent
e9f1ca4f9b
commit
de5bd8e4a5
|
@ -272,12 +272,10 @@
|
||||||
if (tempo == [songTempo intValue])
|
if (tempo == [songTempo intValue])
|
||||||
return;
|
return;
|
||||||
|
|
||||||
[self willChangeSong];
|
|
||||||
[songTempo autorelease];
|
[songTempo autorelease];
|
||||||
songTempo = [[NSNumber numberWithInt:tempo] retain];
|
songTempo = [[NSNumber numberWithInt:tempo] retain];
|
||||||
if (VLSoundOut::Instance()->Playing())
|
if (VLSoundOut::Instance()->Playing())
|
||||||
VLSoundOut::Instance()->SetPlayRate(playRate*tempo/baseTempo);
|
VLSoundOut::Instance()->SetPlayRate(playRate*tempo/baseTempo);
|
||||||
[self didChangeSong];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setGroove:(NSString *)groove inSections:(NSRange)sections
|
- (void) setGroove:(NSString *)groove inSections:(NSRange)sections
|
||||||
|
|
Loading…
Reference in New Issue
Block a user