Hey y’all.
I’ve been trying to load music files to my project using SoundEffect.FromStream, and it works fine for wavs, but when I try to load an mp3, my program exits with code 0xc0020001, and a bunch of “Cannot find or open the PDB file” errors.
I’ve been looking all over online and can’t find a fix for this.
For reference, the relevant code is as follows:
SoundEffect song = SoundEffect.FromStream(new FileStream(@“C:\path\to\mp3\file.mp3”, FileMode.Open));
Any idea what I’m doing wrong?