AudioGraph freezes and breaks sometimes when seeking Flac and Ogg files

chad franklin 1 Reputation point
2020-04-18T10:56:57.503+00:00

I am developing a music application and have a slider set to seek through the audio file with mediaSourceAudioInputNode.Seek(). When seeking through Mp3 files, I have not encountered this problem, but when seeking through some Flac or Ogg files, the seek may work properly a few to several times, then the seek method will freeze for a few seconds and the AudioGraph will stop playback and not be able to play that file again (though it can switch to another file). I can provide specific problematic files if necessary. I have tested and gotten this problem on two Windows 10 machines.

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.