- Moderator
- #31
should be set to zero, which means gapless playback
I've set it to zero in all three places I found reference to gapless playback and rebuilt MediaPortal. It does seem to get rid of the fade-in when starting a track, but it breaks as soon as the track ends and a new track is set to start. There's no crash but the log indicates that the player stops as soon as the second track starts:should be set to zero, which means gapless playback
g_Player.Process() player stopped...
The other thing is that when the next track starts, the WASAPI device is stopped, the mixer stream is disposed and a new BASS audio stream is created. This does not sound like a chain that supports gapless playback - a quick google suggests that BASS_Mixer_StreamAddChannel needs to be used for this.
Well no, the "correct" way, assuming you want an actual copy of the disc on your HDD, is to use a lossless format. It doesn't matter whether you use separate files or a CUE sheet, gapless playback should work in the same way.If you ripped a DJ mixed CD, the correct way is to rip this to a single mp3 file with a cue file.
Looking at the code, I find it hard to believe that gapless playback has ever worked with the BASS engine, but maybe MediaPortal used to use a different engine.I am sure a few years ago the player never had this issue. It all used to work fine.
After doing a bit of digging, it's possible that this issue is related to this already-fixed issue from 1.4.0 pre-release. I can't figure out how to look up the code changes for this fix though. :/Not really related to this thread but I found another bug in Music playback. With WASAPI, my 96 kHz, 24-bit, 5.1 FLAC files play 3-4 times as fast as they should. Log attached, and I've uploaded a sample here since it's 48 MiB. Happens with both my HTPC (connected to an AVR) and my desktop (normal speakers).
If you ripped a DJ mixed CD, the correct way is to rip this to a single mp3 file with a cue file.
Well no, the "correct" way, assuming you want an actual copy of the disc on your HDD, is to use a lossless format. It doesn't matter whether you use separate files or a CUE sheet, gapless playback should work in the same way.
Yes, if they were mastered properly. Playing them in Foobar, Winamp, etc. will demonstrate this.Well I guess this is correct also. I don't have unlimited space so I compress my CD's to MP3 + CUE. Also, If I purchase say a Ministry Of Sound mixed album off iTunes it comes in separate tracks. I guess if gapless playback worked correctly these files would play properly.
I can't see why though. The other thing is that when the next track starts, the WASAPI device is stopped, the mixer stream is disposed and a new BASS audio stream is created. This does not sound like a chain that supports gapless playback - a quick google suggests that BASS_Mixer_StreamAddChannel needs to be used for this.