Hi
I am trying to use the MAD library to decode mp3 files for a programming I am working on, the problem is the produced outputs are very large. So my aim was to decode X number of frames, the break until there are spaces for my by resuming the decoding. However this isn't working as I hoped.
Currently, I am populating the output buffer, in the high level API, and when it is full then I break (and I have tried stop too) however If I want to resume by calling the decode_run (again) then it never get back to resuming the decoding. So I was inquiring as it whether there was a 'best practice' way of doing this with MAD, of course I could always block the decoder thread when the buffer is full. But I am not sure that is the best way.
Thank You