Commit Graph

5 Commits

  • - change buffer sizes of medians
    - change syncing to be more predictable using I2S_EVENT_TX_DONE
      o also increase DMA length so i2s won't eat up so much processing time
      o ensure at least one chunk is in DMA buffer
  • - prefer SPIRAM for LWIP
    - try to improve synced playback using APLL adjustments
    - reduce diffBuf size to 1, bigger values seem to be problematic if packet loss is happening, maybe we need to detect this and clear diffBuf
    - do early time syncs on boot to fill diffBuf
    - playing with pipline ringbuf sizes and I2S DMA buffer sizes
  • - add eclipse project configuration
    - use espressif ADF, remove external opus rep
      o uses audio pipelines now
    - change code to use flac decoder
    - remove mersus code
    - add first try of audio synchronization
      o needed to sync timeofday to server on reception of server settings to avoid overflows in timeval calculations (int32_t on esp32 SDK)
      o still a lot of TODO's in the code, but it's almost in sync, although there is quite some chunk skipping which I am currently working on