Quantcast
Viewing all articles
Browse latest Browse all 6235

DSD on squeezelite

Hi,

I have dsd native and DoP cabable dac (using xmos chip).

Until now, I have been using Marco Curti's squeezelite-R2 in DoP mode from a Pine64 SoC that was stuck at kernel 3.10, because of slow mainlining progress.

However, a full mainline kernel is now available and I am rebuilding the system to use it. This should make native DSD playback possible, as the snd_usb_audio code was updated to include it after kernel 3.10.

Here's the output from cat /proc/asound/card1/stream0:
Code:

# cat /proc/asound/card1/stream0
XMOS HIFI-Ref at usb-1c1a000.usb-1, 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
    Bits: 24
    Channel map: FL FR
  Interface 1
    Altset 2
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 32
    DSD raw: DOP=0, bitrev=0
    Channel map: FL FR
  Interface 1
    Altset 3
    Format: S32_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
    Bits: 32
    Channel map: FL FR

As Marco Curti's work was included in Daphile and later added by Ralphy into the main squeezelite code, I have not compiled squeezelite-R2 this time round, but installed the deb package maintainer's squeezelite.


I load squeezelite with the -D parameter:
Code:

/usr/bin/squeezelite -n squeezebox -o default:CARD=HIFIRef -D -d all=info -f /var/log/squeezelite/squeezelite.log
[13:55:38.481833] stream_init:290 init stream
[13:55:38.484804] output_init_alsa:817 init output
[13:55:38.484894] output_init_alsa:845 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[13:55:38.522857] output_init_common:410 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
[13:55:38.641093] output_init_alsa:862 memory locked
[13:55:38.641938] output_thread:638 open output device: default:CARD=HIFIRef
[13:55:38.641976] decode_init:129 init decode, include codecs:  exclude codecs:
[13:55:38.644530] alsa_open:355 opening device at: 44100
[13:55:38.644715] register_dsd:624 using dsd to decode dsf,dff
[13:55:38.644791] register_ff:731 using ffmpeg to decode alc
[13:55:38.644823] register_ff:715 using ffmpeg to decode wma,wmap,wmal
[13:55:38.644855] register_faad:640 using faad to decode aac
[13:55:38.644886] register_vorbis:329 using vorbis to decode ogg
[13:55:38.644916] register_flac:286 using flac to decode flc
[13:55:38.644946] register_pcm:384 using pcm to decode aif,pcm
[13:55:38.644978] register_mad:412 using mad to decode mp3
[13:55:38.645619] discover_server:756 sending discovery
[13:55:38.646196] discover_server:767 got response from: 192.168.253.85:3483
[13:55:38.651239] alsa_open:406 opened device default:CARD=HIFIRef using format: S32_LE sample rate: 44100 mmap: 1
[13:55:38.651477] alsa_open:485 buffer: 40 period: 4 -> buffer size: 3763 period size: 940
[13:55:38.652509] slimproto:848 connecting to 192.168.253.85:3483
[13:55:38.652994] slimproto:881 connected
[13:55:38.653084] sendHELO:124 mac: 02:ba:5e:66:94:26
[13:55:38.653120] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3

but the player -> dsdplayer config screen on LMS (8.0) doesn't show any options:

Image may be NSFW.
Clik here to view.
Name:  squeezebox-dsd.png
Views: 189
Size:  36.4 KB


squeezelite-R2 on the same LMS looks as it should:
Image may be NSFW.
Clik here to view.
Name:  pine64-dsd.png
Views: 180
Size:  49.6 KB


I even tried recompiling the squeezelite package from source deb in case the build parameter was disabled, but same result.

squeezelite --help lists:

Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR DSD LINKALL

What am I doing wrong?
Attached Images
Image may be NSFW.
Clik here to view.
 Image may be NSFW.
Clik here to view.
 

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>