Skip to content

Unable to determine bitrate of mp3 file when using dr_mp3 #17

Description

@Dizzy611

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions