On mp3-decoding branch
As much as I like dr_mp3, I'm unable to figure out the bitrate of my mp3 files. bit_rate under frameInfo under drmp3 is reading as 0, and even when I tried to modify dr_mp3.h to make sure it set a variable on the drmp3 object referring to the bitrate, it came up 0. Because of this I'm having a hard time calculating length as well.
It may be preferrable to write something to scan for MP3 headers and average the "bitrate" values from those.
On mp3-decoding branch
As much as I like dr_mp3, I'm unable to figure out the bitrate of my mp3 files. bit_rate under frameInfo under drmp3 is reading as 0, and even when I tried to modify dr_mp3.h to make sure it set a variable on the drmp3 object referring to the bitrate, it came up 0. Because of this I'm having a hard time calculating length as well.
It may be preferrable to write something to scan for MP3 headers and average the "bitrate" values from those.