Skip to content

System.Media.SoundPlayer doesn't play specific encoding Lavf58.29.100 #8475

Open
@murilocmg14

Description

@murilocmg14

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.

audio working
error audio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions