Fix crash
Dammit my build process wasn't actually updating the binary I was testing.
This commit is contained in:
parent
cfe523589d
commit
5c575a0be9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ static void FrameCallback(void)
|
||||||
AXVoiceOffsets offsets;
|
AXVoiceOffsets offsets;
|
||||||
AXGetVoiceOffsets(voices[0], &offsets);
|
AXGetVoiceOffsets(voices[0], &offsets);
|
||||||
|
|
||||||
unsigned int current_buffer = offsets.currentOffset / (buffer_length / 2);
|
unsigned int current_buffer = offsets.currentOffset > (buffer_length / 2) ? 1 : 0;
|
||||||
|
|
||||||
static unsigned int last_buffer = 1;
|
static unsigned int last_buffer = 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue