I have scoured the forums for Cubox, Arch Linux and here, but cannot
find the answer. I followed some nice guides to get my Cubox running
Arch Linux and Squeezelite, which is connected via the toslink cable to
my integrated amp. While I get decent sound, it is definitely not bit
perfect as when I play the exact same material (16/44.1 FLAC) via my SB
Duet or Macbook (both toslink connected), it sounds MUCH better and the
display on my integrated amp says PCM (with Squeezelite it never says
that).

I also compared the Squeezelite settings to the Duet in LMS and they are
configured identically. My guess is that there are some command line
switches that I need to use when launching Squeezelite on my Cubox. Here
is what I get for output devices:

[root@alarmcbi music]# squeezelite-armv6 -n office_debug -l          
Output devices:
null                           - Discard all samples (playback) or
generate zero samples (capture)
pulse                          - PulseAudio Sound Server
default:CARD=imxspdif          - imx-spdif,  - Default Audio Device
sysdefault:CARD=imxspdif       - imx-spdif,  - Default Audio Device
default:CARD=imxhdmisoc        - imx-hdmi-soc,  - Default Audio
Device
sysdefault:CARD=imxhdmisoc     - imx-hdmi-soc,  - Default Audio
Device


and my debug log. Thanks in advance for your help. -Stach


[root@alarmcbi music]# squeezelite-armv6 -n office_debug -d all=debug
[16:04:21.746355] stream_init:264 init stream
[16:04:21.748058] stream_init:265 streambuf size: 2097152
[16:04:21.753883] output_init_alsa:636 init output
[16:04:21.754290] output_init_alsa:658 requested alsa_buffer: 40
alsa_period: 4 format: any mmap: 1
[16:04:21.754556] output_init_common:334 outputbuf size: 3528000
[16:04:21.785148] output_init_common:394 supported rates: 384000 352800
192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000
11025 8000 
[16:04:21.804630] output_init_alsa:670 memory locked
[16:04:21.805876] output_thread:465 open output device: default
[16:04:21.805939] output_init_alsa:693 set output sched fifo rt: 45
[16:04:21.807725] decode_init:129 init decode
[16:04:21.813281] alsa_open:234 opened device default using format:
S32_LE sample rate: 44100 mmap: 1
[16:04:21.814565] alsa_open:313 buffer: 40 period: 4 -> buffer size:
1764 period size: 441
[16:04:21.816854] load_faad:610 loaded libfaad.so.2
[16:04:21.821216] load_vorbis:295 loaded libvorbisfile.so.3
[16:04:21.824411] load_flac:258 loaded libFLAC.so.8
[16:04:21.824697] register_pcm:382 using pcm
[16:04:21.827932] load_mad:351 loaded libmad.so.0
[16:04:21.829846] discover_server:699 sending discovery
[16:04:21.830760] discover_server:710 got response from:
192.168.23.99:3483
[16:04:21.831121] slimproto:787 connecting to 192.168.23.99:3483
[16:04:21.831964] slimproto:817 connected
[16:04:21.832214] sendHELO:117 mac: d0:63:b4:00:29:24
[16:04:21.832514] sendHELO:119 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[16:04:22.070642] process:469 strm
[16:04:22.070943] process_strm:232 strm command q
[16:04:22.071144] decode_flush:188 decode flush
[16:04:22.071371] output_flush:407 flush output buffer
[16:04:22.071615] sendSTAT:164 STAT: STMf
[16:04:22.071952] process:469 strm
[16:04:22.072288] process_strm:232 strm command q
[16:04:22.072489] decode_flush:188 decode flush
[16:04:22.072697] output_flush:407 flush output buffer
[16:04:22.072933] sendSTAT:164 STAT: STMf
[16:04:22.073215] process:469 setd
[16:04:22.073413] sendSETDName:223 set playername: office_debug
[16:04:22.073641] process:469 setd
[16:04:22.073863] process:469 aude
[16:04:22.074046] process_aude:368 enable spdif: 1 dac: 1
[16:04:22.074273] process:469 audg
[16:04:22.074455] process_audg:385 audg gainL: 65536 gainR: 65536
adjust: 1
[16:04:26.360653] process:469 strm
[16:04:26.360950] process_strm:232 strm command t
[16:04:26.361153] sendSTAT:164 STAT: STMt
[16:04:31.387260] process:469 strm
[16:04:31.387603] process_strm:232 strm command t
[16:04:31.387808] sendSTAT:164 STAT: STMt
[16:04:33.032032] process:469 strm
[16:04:33.032315] process_strm:232 strm command q
[16:04:33.032514] decode_flush:188 decode flush
[16:04:33.032763] output_flush:407 flush output buffer
[16:04:33.033028] sendSTAT:164 STAT: STMf
[16:04:33.113844] process:469 audg
[16:04:33.114106] process_audg:385 audg gainL: 65536 gainR: 65536
adjust: 1
[16:04:33.114488] process:469 strm
[16:04:33.114745] process_strm:232 strm command s
[16:04:33.114990] process_strm:299 strm s autostart: 1 transition
period: 10 transition type: 0 codec: f
[16:04:33.115231] sendSTAT:164 STAT: STMf
[16:04:33.115540] codec_open:211 codec open: 'f'
[16:04:33.115932] stream_sock:352 connecting to 192.168.23.99:9000
[16:04:33.116700] stream_sock:381 header: GET
/stream.mp3?player=d0:63:b4:00:29:24 HTTP/1.0


[16:04:33.117147] sendSTAT:164 STAT: STMc
[16:04:33.117452] process_strm:330 set fade mode: 0
[16:04:33.117859] process:469 audg
[16:04:33.118086] process_audg:385 audg gainL: 65536 gainR: 65536
adjust: 1
[16:04:33.171003] stream_thread:150 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.8.0 - 1395409907)
Connection: close
Content-Type: audio/x-flac


[16:04:33.172642] sendRESP:195 RESP
[16:04:33.243813] write_cb:116 setting track_start
[16:04:33.249131] _output_frames:59 start buffer frames: 45056
[16:04:33.249405] _output_frames:140 track start sample rate: 44100
replay_gain: 0
[16:04:33.250512] sendSTAT:164 STAT: STMs
[16:04:33.250705] sendSTAT:164 STAT: STMt
[16:04:34.251911] sendSTAT:164 STAT: STMt
[16:04:35.253290] sendSTAT:164 STAT: STMt
[16:04:36.254655] sendSTAT:164 STAT: STMt
[16:04:36.360640] process:469 strm
[16:04:36.360815] process_strm:232 strm command t
[16:04:36.360917] sendSTAT:164 STAT: STMt
[16:04:37.362171] sendSTAT:164 STAT: STMt
[16:04:38.363560] sendSTAT:164 STAT: STMt
[16:04:39.364958] sendSTAT:164 STAT: STMt
^C[16:04:39.791089] slimproto_stop:861 slimproto stop
[16:04:39.891582] decode_close:173 close decode
[16:04:39.931125] stream_close:296 close stream
[16:04:39.941251] output_close_alsa:698 close output


------------------------------------------------------------------------
Stach's Profile: http://forums.slimdevices.com/member.php?userid=62964
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to