Forum Discussion

Murilo_Goncalves's avatar
Murilo_Goncalves
Copper Contributor
Oct 03, 2022

System.Media Lavf58.29.100

System.Media.SoundPlayer(file Path) is getting an error when trying to play a Wav Audio file with Encoding Lavf58.29.100, but when i manage to convert that same audio file using FFMpeg to a newer version, Lavf59.33.100 with ADPCM, it worked on Sound Player of System Media.

 

The same audio file (Lavf58.29.100) can be played through Windows media Player but not on this System.Media.SoundPlayer(file Path).

 

Error "is not a valid wave file"

Resources