ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
211 stars 53 forks source link

fix stereo downmix on 32 bit PCM #441

Closed brabebhin closed 1 day ago

brabebhin commented 1 day ago

The version on master will throw this error

Exception thrown at 0x00007FF86559831A (KernelBase.dll) in MediaPlayerCS.exe: WinRT originate error - 0xC00D5212 : 'Decoder error'.

There will be no sound because the media stream source will not request samples from the audio stream.

This code on this branch will work. For some reason, the order in which those properties are set matters. This fully fixes #440 , together with some other fixes that were part of the winUI config feature.

softworkz commented 1 day ago

Oh, nice, will try asap.

Thanks for the quick turnaround!