decoder/audiofile: larger stack buffer to reduce overhead
This commit is contained in:
parent
3be8b02cc2
commit
c63f24e58e
@ -219,9 +219,7 @@ audiofile_stream_decode(DecoderClient &client, InputStream &is)
|
||||
|
||||
DecoderCommand cmd;
|
||||
do {
|
||||
/* pick 1020 since its divisible for 8,16,24, and
|
||||
32-bit audio */
|
||||
char chunk[1020];
|
||||
uint8_t chunk[8192];
|
||||
const int nframes =
|
||||
afReadFrames(fh, AF_DEFAULT_TRACK, chunk,
|
||||
sizeof(chunk) / frame_size);
|
||||
|
Loading…
Reference in New Issue
Block a user