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

Skip to content
Commit 08dd071c authored by Yuxiu Zhang's avatar Yuxiu Zhang Committed by Marco Nelissen
Browse files

FLAC: resize raw decoder's buffer according to flac max buffer size

Problem:
Some flac can not be played because insufficient raw decoder's buffer
size. Raw component's input and output buffer size are both 64K.
But FLACExtractor's output(decoded pcm) buffer size may be greater
than 64K.

Solution:
FLACExtractor pass the max buffer size to ACodec and resize raw
component's input and output buffer size if possible.

Bug: 122969286
Test: play flac audio which buffer size is greater than 64K normally
Change-Id: Ic046d27926bdec35e3944aec2bd6718f197d42c1
parent 4b7f683c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment