dotnet / dotnet/dotnet-api-docs
System.Media.SoundPlayer doesn't play specific encoding Lavf58.29.100
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
I have a wav audio file that has a Lavf58.29.100 that is getting an error saying that is not a wav valid audio file, but when using FFMpeg to change the encoding to 59.33.100 and using ADPCM as well, the new wav audio start to work on this code, so i was wondering if this encoding is not supported on System.Media.PlayerSound
`using (var sound = new System.Media.SoundPlayer(path))
{
sound.PlaySync();
}`
The first image is about the converted audio file, that has Lavf59.33.100 ADPCM Encoding and the second has the Lavf58.29.100.


Contributor guide
Assessment
This issue has not been assessed yet.