• Max Kellermann's avatar
    pcm_utils: check pcm_convert()==0 · 0d9d82a9
    Max Kellermann authored
    It is illegal to pass an empty audio buffer around.  pcm_resample()
    sometimes seems to result in 0 samples, maybe related to
    libsamplerate.  To work around that problem, add special checks after
    both pcm_convert() invocations.  Removed the pcm_resample()==0 checks
    from pcm_convert().
    0d9d82a9
pcm_utils.c 10.6 KB