muvox-io / euphonium

Tiny audio platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffering changes

shark8594 opened this issue · comments

Hi,

Have been testing out euphonium with a custom audio board (ES8388) and it works great!. In the previous spotify stand alone version cspot, I could tweak the buffer size and logic in ChunkedAudioStream (BUFFER_SIZE), however in the current project seems like it is moved to ChunkedByteStream? Any clues on how to change the buffer size and add logic? . loadAheadEnabled flag only loads one extra chuck right? Also, I observed a segfault when we skip/seek tracks on spotify.

Thanks!

Cspot crashes are currently being worked on, current master is not really stable in that regard :). Euphonium has it's buffer defined in MainAudioBuffer.h

Thanks :), I tried it and seems like the change is taking effect:
image