question

kidjenius avatar image
0 Votes"
kidjenius asked AryaDing-MSFT commented

How to enable gapless playback using UWP MediaPlayer?

According to the docs, using MediaPlaybackList will enable gapless playback but only when there's proper metadata in the MP3 file. Clearly, it means that any random MP3 file will not automatically have gapless playback. So my question is, what exactly is the metadata or encoding required to enable MediaPlayer to automatically enable gapless playback? I just want to know how to add it to my audio files so I can enable gapless playback.

windows-uwpwindows-api
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@kidjenius Could you please tell me what type you operated audio file is? Is it only mp3 file?

0 Votes 0 ·

@kidjenius MediaPlaybackList does not support true gapless playback. MP3 and AAC use Fourier transform, it requires small amount of zeroes in the beginning of track to avoid clicks and distortions. MediaPlaybackList doesn’t look for the silence and skip it, in fact, they do not check how much silence soundman really added in the beginning because that silence is part of track.

0 Votes 0 ·

0 Answers