Hi,
I'm really new to piCoPlayer, but not to the slim btw. logitech
devices.
At the moment I'm playing through HDMI (to an Marantz SR-7001) without
problems when using PCM packed in flacs or mp3s.
But if I'm trying to play dts or dd packed in flac (using the hopefully
known python script spdifconvert.py), the output is only a pink noise
:rolleyes:...
Activating the logging for the player shows:
Code:
--------------------
[13:50:52.951281] stream_init:264 init stream
[13:50:52.952790] stream_init:265 streambuf size: 2097152
[13:50:52.956387] output_init:1484 init output
[13:50:52.956573] output_init:1487 outputbuf size: 3528000
[13:50:52.956823] output_init:1519 requested alsa_buffer: 40 alsa_period: 4
format: 32 mmap: 0
[13:50:52.972765] output_init:1548 output: default maxrate: 384000
[13:50:52.984220] output_init:1558 memory locked
[13:50:52.985115] output_thread:667 open output device: default
[13:50:52.986852] output_init:1581 set output sched fifo rt: 45
[13:50:52.987068] decode_init:129 init decode
[13:50:52.988294] load_faad:582 dlerror: libfaad.so.2: cannot open shared
object file: No such file or directory
[13:50:52.992248] load_vorbis:275 loaded libvorbisfile.so.3
[13:50:52.996108] load_flac:235 loaded libFLAC.so.8
[13:50:52.996315] register_pcm:352 using pcm
[13:50:53.000353] alsa_open:294 opened device default using format: S32_LE
sample rate: 44100 mmap: 0
[13:50:53.002160] alsa_open:359 buffer: 40 period: 4 -> buffer size: 1768
period size: 442
[13:50:53.005139] load_mad:345 loaded libmad.so.0
[13:50:53.006397] discover_server:660 sending discovery
[13:50:53.007475] discover_server:671 got response from: 192.168.236.71:3483
[13:50:53.007808] slimproto:724 connecting to 192.168.236.71:3483
[13:50:53.008742] slimproto:754 connected
[13:50:53.008963] sendHELO:114 mac: b8:27:eb:e7:2f:17
[13:50:53.009075] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,ogg,flc,aif,pcm,mp3
[13:50:53.009321] sendSETDName:215 set playername: minisqueeze
[13:50:53.011265] process:430 strm
[13:50:53.011446] process_strm:224 strm command q
[13:50:53.011735] decode_flush:185 decode flush
[13:50:53.012255] output_flush:1623 flush output buffer
[13:50:53.012829] sendSTAT:156 STAT: STMf
--------------------
and when starting playing a dts file
Code:
--------------------
[14:00:14.440642] stream_sock:381 header: GET
/stream.mp3?player=b8:27:eb:e7:2f:17 HTTP/1.0
[14:00:14.440841] sendSTAT:156 STAT: STMc
[14:00:14.441071] process_strm:322 set fade mode: 0
[14:00:14.441443] process:430 audg
[14:00:14.441567] process_audg:377 audg gainL: 65536 gainR: 65536 adjust: 0
[14:00:14.477940] stream_thread:150 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.7.3 - 1375965195)
Connection: close
Content-Type: audio/x-flac
[14:00:14.479178] sendRESP:187 RESP
[14:00:14.588703] write_cb:106 setting track_start
[14:00:14.599135] output_thread:887 track start sample rate: 44100
replay_gain: 0
[14:00:14.600161] output_thread:667 open output device: default
[14:00:14.620923] alsa_open:294 opened device default using format: S32_LE
sample rate: 44100 mmap: 0
[14:00:14.622644] alsa_open:359 buffer: 40 period: 4 -> buffer size: 1768
period size: 442
[14:00:14.625258] sendSTAT:156 STAT: STMs
[14:00:14.625607] sendSTAT:156 STAT: STMt
[14:00:15.627439] sendSTAT:156 STAT: STMt
--------------------
So, squeezelite seems to set the the sample rate to 44,1 kHz which
should be 48 kHz in this case.
Player thread is running with:
/mnt/mmcblk0p1/tce/squeezelite-armv6hf -a 32 0 -n minisqueeze -d all
debug -f /mnt/mmcblk0p1/player.log -z
Any idea?
Thanks
Burkhardt
------------------------------------------------------------------------
burki's Profile: http://forums.slimdevices.com/member.php?userid=10800
View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix