just want to confirm this is the correct behavior for the 2 relevant pcm
drivers -- all default values -- both are outputting sound -- flac file
from 16bit cd

Rpi

/usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpirpidac -a
80:4::1 -p 45 -d output=info -f /var/log/pcp_squeezelite.log 
[09:58:58.244466] output_init_alsa:933 init output
[09:58:58.245087] output_init_alsa:973 requested alsa_buffer: 80
alsa_period: 4 format: any mmap: 1
[09:58:58.284499] output_init_common:432 supported rates: 192000 176400
96000 88200 48000 44100 32000 16000 11025 8000 
[09:58:58.421941] output_init_alsa:999 memory locked
[09:58:58.422200] output_init_alsa:1005 glibc detected using mallopt
[09:58:58.423416] output_thread:682 open output device:
hw:CARD=sndrpirpidac
[09:58:58.423610] alsa_open:351 opening device at: 44100
[09:58:58.426649] alsa_open:422 opened device hw:CARD=sndrpirpidac using
format: S24_LE sample rate: 44100 mmap: 1
[09:58:58.427216] alsa_open:513 buffer: 80 period: 4 -> buffer size:
3528 period size: 882
[09:59:00.095182] output_flush:445 flush output buffer
[10:02:55.043599] output_flush:445 flush output buffer
[10:02:55.669397] _output_frames:65 start buffer frames: 28800
[10:02:55.669615] _output_frames:153 track start sample rate: 44100
replay_gain: 0
[10:04:23.503987] output_flush:445 flush output buffer

Generic 5102

/usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpihifiberry -a
80:4::1 -p 45 -d output=info -f /var/log/pcp_squeezelite.log 
[10:17:58.293313] output_init_alsa:933 init output
[10:17:58.293927] output_init_alsa:973 requested alsa_buffer: 80
alsa_period: 4 format: any mmap: 1
[10:17:58.336569] output_init_common:432 supported rates: 192000 176400
96000 88200 48000 44100 32000 16000 8000 
[10:17:58.468023] output_init_alsa:999 memory locked
[10:17:58.468279] output_init_alsa:1005 glibc detected using mallopt
[10:17:58.474615] output_thread:682 open output device:
hw:CARD=sndrpihifiberry
[10:17:58.474833] alsa_open:351 opening device at: 44100
[10:17:58.477891] alsa_open:422 opened device hw:CARD=sndrpihifiberry
using format: S32_LE sample rate: 44100 mmap: 1
[10:17:58.478292] alsa_open:513 buffer: 80 period: 4 -> buffer size:
3528 period size: 882
[10:18:00.196362] output_flush:445 flush output buffer
[10:19:07.546828] output_flush:445 flush output buffer
[10:19:07.980426] _output_frames:65 start buffer frames: 48384
[10:19:07.980636] _output_frames:153 track start sample rate: 44100
replay_gain: 0
[10:19:50.754545] output_flush:445 flush output buffer

so Rpi outputs 24bit and generic 5102 outputs 32bit for 16bit source
flac file

locking g 5102 driver for 16bit output produces NO sound :

/usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpihifiberry
-a 80:4:16:1: -p 45 -d output=info -f /var/log/pcp_squeezelite.log 
[10:25:26.834259] output_init_alsa:933 init output
[10:25:26.834837] output_init_alsa:973 requested alsa_buffer: 80
alsa_period: 4 format: 16 mmap: 1
[10:25:26.872386] output_init_common:432 supported rates: 192000 176400
96000 88200 48000 44100 32000 16000 8000 
[10:25:26.949728] output_init_alsa:999 memory locked
[10:25:26.949979] output_init_alsa:1005 glibc detected using mallopt
[10:25:26.951173] output_thread:682 open output device:
hw:CARD=sndrpihifiberry
[10:25:26.951364] alsa_open:351 opening device at: 44100
[10:25:26.954470] alsa_open:422 opened device hw:CARD=sndrpihifiberry
using format: S16_LE sample rate: 44100 mmap: 1
[10:25:26.954873] alsa_open:513 buffer: 80 period: 4 -> buffer size:
3528 period size: 882
[10:25:27.038587] output_flush:445 flush output buffer
[10:25:27.043472] output_flush:445 flush output buffer
[10:25:51.775733] output_flush:445 flush output buffer
[10:25:52.056358] _output_frames:65 start buffer frames: 9216
[10:25:52.056573] _output_frames:153 track start sample rate: 44100
replay_gain: 0
[10:27:25.006952] output_flush:445 flush output buffer

locking Rpi driver for 16bit output produces sound :

/usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpirpidac -a
80:4:16:1: -p 45 -d output=info -f /var/log/pcp_squeezelite.log 
[10:38:16.065076] output_init_alsa:933 init output
[10:38:16.065653] output_init_alsa:973 requested alsa_buffer: 80
alsa_period: 4 format: 16 mmap: 1
[10:38:16.095424] output_init_common:432 supported rates: 192000 176400
96000 88200 48000 44100 32000 16000 11025 8000 
[10:38:16.168522] output_init_alsa:999 memory locked
[10:38:16.168775] output_init_alsa:1005 glibc detected using mallopt
[10:38:16.170004] output_thread:682 open output device:
hw:CARD=sndrpirpidac
[10:38:16.170197] alsa_open:351 opening device at: 44100
[10:38:16.173396] alsa_open:422 opened device hw:CARD=sndrpirpidac using
format: S16_LE sample rate: 44100 mmap: 1
[10:38:16.173809] alsa_open:513 buffer: 80 period: 4 -> buffer size:
3528 period size: 882
[10:38:16.222121] output_flush:445 flush output buffer
[10:39:08.989923] output_flush:445 flush output buffer
[10:39:09.515050] _output_frames:65 start buffer frames: 42624
[10:39:09.515252] _output_frames:153 track start sample rate: 44100
replay_gain: 0
[10:40:32.017408] output_flush:445 flush output buffer

Is this all normal / expected behavior ?
and
the general consensus from developers knowledgeable with squeeze is that
no tweaking with the various default paramerters used above will produce
a more accurate sound ?
and in fact the Rpi 24bit output listed above should also sound
identical to the Rpi 16bit out listed above ?


------------------------------------------------------------------------
oshcar's Profile: http://forums.slimdevices.com/member.php?userid=71999
View this thread: http://forums.slimdevices.com/showthread.php?t=114947

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to