Bug fix for ma_decoder_get_length_in_pcm_frames().
This previously returned the frame count based on the internal sample rate of the underlying stream, whereas it should have instead returned a frame count based on the output sample rate. This commit fixes this. This commit commit also changes the implementation of ma_calculate_frame_count_after_src() to use the ma_resampler API which should make it a bit more robust and easier to maintain.
Showing
Please register or sign in to comment