Browse Source

fix missing var dc

dds
Frank Bösing 5 years ago
parent
commit
13663b4bfb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      output_tdm2.cpp

+ 2
- 1
output_tdm2.cpp View File

@@ -104,7 +104,7 @@ static void memcpy_tdm_tx(uint32_t *dest, const uint32_t *src1, const uint32_t *

void AudioOutputTDM2::isr(void)
{
uint32_t *dest;
uint32_t *dest, *dc;
const uint32_t *src1, *src2;
uint32_t i, saddr;

@@ -120,6 +120,7 @@ void AudioOutputTDM2::isr(void)
dest = tdm_tx_buffer;
}
if (update_responsibility) AudioStream::update_all();
dc = dest;
for (i=0; i < 16; i += 2) {
src1 = block_input[i] ? (uint32_t *)(block_input[i]->data) : zeros;
src2 = block_input[i+1] ? (uint32_t *)(block_input[i+1]->data) : zeros;

Loading…
Cancel
Save