Commit c63f24e5 authored by Max Kellermann's avatar Max Kellermann

decoder/audiofile: larger stack buffer to reduce overhead

parent 3be8b02c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment