Sometimes (rarely) while running my App, I get an error 0x80070057 thrown by BackgroundAudioPlayer.
As I've observed it happens for a scenario like this:
- I start to play the song,
- I pause it,
- Wait some time - few hours (BAP with the song stays in background),
- Play the song with UVC.
Like I said - it doesn't happen always, it is not connected to particular song. It is hard to debug, what I've managed to do is to Save the error.Message to file when BAP.OnError() is fired (thus I know the error numer). I've tried to save also StackTrace but without success (it is empty).
Does anybody know what can cause this error?