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
Loading
Please register or sign in to comment