mackron / dr_libs

Audio decoding libraries for C/C++, each in a single source file.
Other
1.28k stars 205 forks source link

dr_mp3 frameInfo never filled #238

Closed arnaud-neny closed 2 years ago

arnaud-neny commented 2 years ago

The member frameInfo of the struct drmp3 is never filled (nor used). It's a nice to have to do realtime display of the frame bitrate in players.

mackron commented 2 years ago

Thanks for the report, and sorry for the delay in my response. Unfortunately you're not going to like my answer to this one - I'm just going to be removing that unused member. I'm just not interested in supporting that particular use case. If you want frame-by-frame information, it may actually be better to use the low level API, or just use minimp3 directly (dr_mp3 is a wrapper around minimp3).

arnaud-neny commented 2 years ago

Thx! No worries :)