Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6b6ed59 authored by Sanal Sundaran's avatar Sanal Sundaran Committed by Steve Kondik
Browse files

frameworks/base: Enable double buffer decoding for OGG

Decode 8k bytes at a time to supply buffer to DSP at
a faster date for OGG decoding

CRs-Fixed: 212278
parent 3ca04b63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ int VorbisPlayer::renderThread(void* p) {
    return ((VorbisPlayer*)p)->render();
}

#define AUDIOBUFFER_SIZE 4096
#define AUDIOBUFFER_SIZE 8192 

int VorbisPlayer::render() {
    int result = -1;