| @@ -32,7 +32,7 @@ void AudioAnalyzeRMS::update(void) | |||
| { | |||
| audio_block_t *block = receiveReadOnly(); | |||
| if (!block) return; | |||
| #if 1 | |||
| #if defined(KINETISK) | |||
| uint32_t *p = (uint32_t *)(block->data); | |||
| uint32_t *end = p + AUDIO_BLOCK_SAMPLES/2; | |||
| int64_t sum = accum; | |||
| @@ -41,7 +41,7 @@ void AudioEffectMidSide::update(void) | |||
| if (blockb) release(blockb); // of the blocks is NULL then it's trouble anyway | |||
| return; | |||
| } | |||
| #if defined(KINETISK) | |||
| pa = (uint32_t *)(blocka->data); | |||
| pb = (uint32_t *)(blockb->data); | |||
| end = pa + AUDIO_BLOCK_SAMPLES/2; | |||
| @@ -87,6 +87,7 @@ void AudioEffectMidSide::update(void) | |||
| } | |||
| transmit(blocka, 0); // mid (encoding) or left (decoding) | |||
| transmit(blockb, 1); // side (encoding) or right (decoding) | |||
| #endif | |||
| release(blocka); | |||
| release(blockb); | |||
| } | |||