Daphile - Audiophile Music Server & Player OS

Hi all.
Been using Daphile for a while and it's been going well except I seem to have overlooked one thing… I'm not getting gapless playback on mp3 files. FLAC, yes, but mp3 will have about a 1/2 second gap between tracks.
Is there a setting somewhere I might have missed (I've pretty much left most of the settings at default)?
Cheers. (sorry if I've been too vague about my current settings. let me know if you need some more info)
 
Hi all.
Been using Daphile for a while and it's been going well except I seem to have overlooked one thing… I'm not getting gapless playback on mp3 files. FLAC, yes, but mp3 will have about a 1/2 second gap between tracks.
Is there a setting somewhere I might have missed (I've pretty much left most of the settings at default)?
Cheers. (sorry if I've been too vague about my current settings. let me know if you need some more info)

Are you upsampling the mp3 tracks compared to the flac processing?
 
Your file contains 24bit samples, the player knows how to read them and therefore displays 24 bits.

Very likely your DAC reports during USB handshake that it supports only 32bit samples (plus possibly 16 bits). I could not find details for D50, but for its sibling D30 it is available Volumio won't play DSD native : Help - Page 3 - the stream0 file tells it all:

Code:
cat /proc/asound/card*/stream0
TOPPING D30 at usb-0000:00:14.0-8, high speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

As you see, D30 supports only S16_LE, S32_LE, and DSD (SPECIAL format).

Its sibling DX7 supports at PCM only S32_LE (+ DSD):

Code:
Topping DX7s at usb-3f980000.usb-1.1.2, high speed : USB Audio
Playback:
Status: Stop
Interface 1

Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 7 68000
Data packet interval: 125 us
Interface 1

Altset 2
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 7 68000
Data packet interval: 125 us
Interface 1

Altset 3
Format: SPECIAL
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 7 68000
Data packet interval: 125 us

S32_LE support instead of the technically complicated 3-byte S24_3LE is very common in soundcards, many PCI(e) cards do it like that too (Envy24, Xonar).

Therefore the driver (basically the alsa device hw:X) tells the player in daphile linux (software squeezelight) "hey, send me 32 bits (or 16 bits if it supports, I do not know)". And the player must comply by converting the samples to 32bits by appending the extra 8 bits.

The DAC does not know the original resolution, it would have to analyze the incoming samples, how many of LSBs are constantly zero.
 
Are you upsampling the mp3 tracks compared to the flac processing?

I did some routing around and found I had Daphile set to play silence for hardware sync (something like that). My thought was that this would only apply for the start of playback, not between tracks. I changed that setting from .25 seconds back to 0 and that seemed to fix things (I also disabled flac and wav under the mp3 settings, not sure if that helped any. The one complaint I do have about Daphile is there isn't enough information about what all the "advanced" settings are for - I still have no idea what all the buffer settings are supposed to do)

On that upsampling front…
I have a Shanling M2s that I occasionally use as a DAC. I have it set to upsample everything to DSD64. I will get a slight click between tracks, not sure if there's anything to improve that?
The only reason I do upsample the Shanling is because it will click and pop like a dirty record if I use PCM. I'm pretty sure this is due to a hardware issue since the same problem occurs on my main laptop running Windows (Shanling has been able to replicate the problem but can't figure out why it happens), but has anybody else experienced these types of issues?
The M2s will also occasionally start outputting a single channel and will pop the heck out of my headphones when I play/pause/skip tracks. The only way to fix this is to physically unplug/replug the device. Again, probably a hardware issue, but anybody have any thoughts or suggestions - other than stop using it and buy a proper DAC (my other output device is a Fiio X3 mkI and it is mostly bug free)

Cheers