Reputation: 24877
Since Windows Media Player 6.1, Windows has its' own mp3 decoder. Can I use that decoder to get access to the decoded audio (raw) data?
I assume it would have to be done with DirectShow.
Related but not the same question.
Upvotes: 3
Views: 563
Reputation: 9573
You can add a sample grabber into the graph after the mp3 decoder. The sample grabber allows you to configure a callback that gets called as each sample passes through the media pipeline.
Your graph would look something like
mp3 file -> mp3 decoder -> sample grabber -> renderer
Upvotes: 2