Hey - I’m wondering how other people heave found the MAD mp3 decoder:
It seems to work fine for the decoding, but not for get and set position(). Have other people used this satisfactorily?
I have this snippet …
int64 readPosition = reader->input->getPosition();
Buffer->readFromAudioReader(reader, start, length, readPosition , true, true);
reader->input->setPosition(readerPosition + length);
Which seems to work fine for WAVs, but has issues getting to the right positions when using the MAD classes.
Is the older audiere API better? It says it’s seekable, but it kinda old and there is a comment on the JUCE forum that it doesn’t work for all MP3s.
Aha … just found the JUCE QTaudioformat … switched it out and that seems to work fine … slower though. Is there documentation on that somewhere?