muvox-io / euphonium

Tiny audio platform
GNU Affero General Public License v3.0
96 stars 15 forks source link

Buffering changes #19

Closed shark8594 closed 2 years ago

shark8594 commented 2 years ago

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!

feelfreelinux commented 2 years ago

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

shark8594 commented 2 years ago

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