Skip to content

Commit

Permalink
Adjust buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
N00byKing committed Mar 11, 2022
1 parent 26972f3 commit dced612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop_version/src/Music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class MusicTrack
format.cbSize = 0;

channels = format.nChannels;
size = format.nAvgBytesPerSec/2;
size = format.nAvgBytesPerSec/10;

decoded_buf_playing = (Uint8*)SDL_malloc(size);
decoded_buf_reserve = (Uint8*)SDL_malloc(size);
Expand Down

0 comments on commit dced612

Please sign in to comment.