瀏覽代碼

DMAMEM, aligned

dds
Frank 4 年之前
父節點
當前提交
d8133e1634
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      output_pt8211_2.cpp

+ 2
- 2
output_pt8211_2.cpp 查看文件

@@ -40,9 +40,9 @@ uint16_t AudioOutputPT8211_2::block_left_offset = 0;
uint16_t AudioOutputPT8211_2::block_right_offset = 0;
bool AudioOutputPT8211_2::update_responsibility = false;
#if defined(AUDIO_PT8211_OVERSAMPLING)
static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SAMPLES*4];
DMAMEM __attribute__((aligned(32))) static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SAMPLES*4];
#else
static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SAMPLES];
DMAMEM __attribute__((aligned(32))) static uint32_t i2s_tx_buffer[AUDIO_BLOCK_SAMPLES];
#endif
DMAChannel AudioOutputPT8211_2::dma(false);


Loading…
取消
儲存