I put the line I had moved into the loop the wrong side of the test conditional.dds
uint32_t *data, *end; | uint32_t *data, *end; | ||||
int32_t *state; | int32_t *state; | ||||
block = receiveWritable(); | block = receiveWritable(); | ||||
data = (uint32_t *)(block->data); | |||||
if (!block) return; | if (!block) return; | ||||
data = (uint32_t *)(block->data); | |||||
end = data + AUDIO_BLOCK_SAMPLES/2; | end = data + AUDIO_BLOCK_SAMPLES/2; | ||||
state = (int32_t *)definition; | state = (int32_t *)definition; | ||||
do { | do { |