I'm trying to implement BackgroundAudio in my UWP app and I'm following the sample on github. Yet for me before the BackgroundTask gets initialized the output returns The program '[11864] Windows.Media.BackgroundPlayback.exe' has exited with code 1 (0x1).
I can't seem to figure out why though. Is there a way I can debug this?
Edit: I have put the project online. Seems a lot easier than just copy pasting parts of the code because I don't really understand where it goes wrong
Fixed it by adding a reference from my task to my main project