Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move empty packet check to also cover 48kHz audio
Previously, we were only skipping zero-packet frames when we needed to resample because the source sampling rate was not set to 48kHz. This check should have also been applied in the case that a packet did not need a resampler to be built. Fixes serenity-rs#224.
- Loading branch information