kabouzeid / phonograph-issue-tracker

14 stars 0 forks source link

Gapless playback doesn't work! #115

Open qtf0x opened 8 years ago

qtf0x commented 8 years ago

It just doesn't work. I tried with the toggle on and off, and my gapless albums have big gaps. Please fix this bug soon!

Device info:

App version 0.13.1 App version code 117 Android build version 16074094826e6 Android release version 6.0 Android SDK version 23 Android build ID MRA58K Device brand LGE Device manufacturer LGE Device name G3 Device model VS985 4G Device product name g3_vzw Device hardware name G3 ABIs [armeabi-v7a, armeabi] ABIs (32bit) [armeabi-v7a, armeabi] ABIs (64bit) []

paulheising commented 8 years ago

What file format do you use? Not every (especially lossy) format supports gapless. MP3 has no native support at all unless you use LAME encoder correctly.

In my case (using LAME-encoded MP3-files), gapless playback works sometimes. Meaning that if I repeat the transition of two songs that fade directly into each other mutliple times, sometimes I hear no gap, sometimes I do. This gap shows off as a little glitch at the transition - nothing like a "big gap", but still annoying.

Maybe implementing a short crossfade (like let's say 10 milliseconds) could help to prevent such glitches at track transitions?

paulheising commented 8 years ago

Just found out that (at least in my case) gapless playback does not work with FLAC and OGG VORBIS files. Ironically, because FLAC is lossless and is gapless inherently, and also vorbis implements gapless by default. Both are not played gapless within phonograph. I guess the app needs a few milliseconds filling the buffer for the next track, which is causes the gap.

Ironically, my mp3 files are played gapless as intended. This is curious, because mp3 is not originally created with features like gapless playback. Okay, my mp3 files are encoded using the gapless switch of lame but... I think OGG and FLAC, and other supported formats should also be played gapless.

Wyrdrock commented 5 years ago

This issue is also happening for me. Is There anything that can be done?