microsoft / FFmpegInterop

This is a code sample to make it easier to use FFmpeg in Windows applications.
Apache License 2.0
1.29k stars 310 forks source link

MSFT: 31464795 - Handle dynamic audio format changes in UncompressedAudioSampleProvider #286

Closed brbeec closed 3 years ago

brbeec commented 3 years ago

This change updates UncompressedAudioSampleProvider to handle dynamic audio format changes.

The format change is handled internally by reconfiguring the resampler so that the media type exposed to the MSS does not change.