summaryrefslogtreecommitdiff
path: root/shared-module/struct
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2019-12-24 09:43:15 -0600
committerJeff Epler <jepler@gmail.com>2019-12-24 09:43:15 -0600
commit97bb46c0471b5cb9a0323f06183945d4c711207b (patch)
tree2375fc38ea2282959f175c4391ba4f5d3819959b /shared-module/struct
parent5aa3e3eabb90bb9845204b2287e311d5923d30a5 (diff)
MP3File: tweak buffer handling
After adding the ability to change files in an existing MP3File object, it became apparent that at the beginning of a track some part of an existing buffer was playing first. I noticed that in get_buffer, the just-populated buffer wasn't being returned, but the other one was. But still after fixing this, I heard wrong audio at the beginning of a track, so I took the heavy duty approach and zeroed the buffers out. That means there's a remaining bug to chase, which is merely hidden by the memset()s.
Diffstat (limited to 'shared-module/struct')
0 files changed, 0 insertions, 0 deletions