Pārlūkot izejas kodu

Don't compile M4 code on LC (but LC still not working)

dds
PaulStoffregen pirms 8 gadiem
vecāks
revīzija
0d8223e6b0
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      analyze_rms.cpp
  2. +2
    -1
      effect_midside.cpp

+ 1
- 1
analyze_rms.cpp Parādīt failu

{ {
audio_block_t *block = receiveReadOnly(); audio_block_t *block = receiveReadOnly();
if (!block) return; if (!block) return;
#if 1
#if defined(KINETISK)
uint32_t *p = (uint32_t *)(block->data); uint32_t *p = (uint32_t *)(block->data);
uint32_t *end = p + AUDIO_BLOCK_SAMPLES/2; uint32_t *end = p + AUDIO_BLOCK_SAMPLES/2;
int64_t sum = accum; int64_t sum = accum;

+ 2
- 1
effect_midside.cpp Parādīt failu

if (blockb) release(blockb); // of the blocks is NULL then it's trouble anyway if (blockb) release(blockb); // of the blocks is NULL then it's trouble anyway
return; return;
} }
#if defined(KINETISK)
pa = (uint32_t *)(blocka->data); pa = (uint32_t *)(blocka->data);
pb = (uint32_t *)(blockb->data); pb = (uint32_t *)(blockb->data);
end = pa + AUDIO_BLOCK_SAMPLES/2; end = pa + AUDIO_BLOCK_SAMPLES/2;
} }
transmit(blocka, 0); // mid (encoding) or left (decoding) transmit(blocka, 0); // mid (encoding) or left (decoding)
transmit(blockb, 1); // side (encoding) or right (decoding) transmit(blockb, 1); // side (encoding) or right (decoding)
#endif
release(blocka); release(blocka);
release(blockb); release(blockb);
} }

Notiek ielāde…
Atcelt
Saglabāt