Today I ran another volume control test.
This time I used a Audiophonics iSabre 9038Q2M.
The DAC comes with a 100 click 1db/click VC scale.
It perfectly matches Alsa and LMS.
There won't be any ambiguity ( 1% ->2db values) as seen on the PCM51xx.
Linear "-X" should be linear.
Here's what happens:
Code:
--------------------
root@arch:~# echo -e "b8:27:eb:87:93:c3 mixer volume 100\nexit\n" | nc -q 2
192.168.1.20 9090
b8%3A27%3Aeb%3A87%3A93%3Ac3 mixer volume 100
root@arch:~# echo -e "b8:27:eb:87:93:c3 mixer volume 99\nexit\n" | nc -q 2
192.168.1.20 9090
b8%3A27%3Aeb%3A87%3A93%3Ac3 mixer volume 99
root@arch:~# amixer sget Digital
Simple mixer control 'Digital',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 98 [98%] [-2.00dB] [on]
--------------------
That's the related squeezelite (v1.9.1-1139) log:
Code:
--------------------
[12:02:26.545648] process_audg:426 audg gainL: 65536 gainR: 65536 adjust: 1
[12:02:26.545724] set_mixer:193 setting vol raw [0..100]
[12:02:26.546288] set_mixer:226 Digital left: 0.0dB -> 100 right: 0.0dB -> 100
[12:02:26.546620] process:514 audg
[12:02:26.546693] process_audg:426 audg gainL: 65536 gainR: 65536 adjust: 1
[12:02:26.546757] set_mixer:193 setting vol raw [0..100]
[12:02:26.546828] set_mixer:226 Digital left: 0.0dB -> 100 right: 0.0dB -> 100
[12:02:29.002429] process:514 strm
[12:02:29.002604] process_strm:264 strm command t
[12:02:29.002669] sendSTAT:179 STAT: STMt
[12:02:33.002488] process:514 strm
[12:02:33.002647] process_strm:264 strm command t
[12:02:33.002711] sendSTAT:179 STAT: STMt
[12:02:34.063583] process:514 audg
[12:02:34.063741] process_audg:426 audg gainL: 61952 gainR: 61952 adjust: 1
[12:02:34.063819] set_mixer:193 setting vol raw [0..100]
[12:02:34.064374] set_mixer:226 Digital left: -0.5dB -> 98 right: -0.5dB -> 98
[12:02:34.064783] process:514 audg
[12:02:34.064857] process_audg:426 audg gainL: 61952 gainR: 61952 adjust: 1
[12:02:34.064927] set_mixer:193 setting vol raw [0..100]
[12:02:34.064983] set_mixer:226 Digital left: -0.5dB -> 98 right: -0.5dB -> 98
[12:02:37.002562] process:514 strm
[12:02:37.002735] process_strm:264 strm command t
--------------------
Something goes pretty much wrong here.
@ralphy - Any ideas?
:::' my audioblog - latest series: RaspBerry PI - \"The Audio Engine\"
' (http://soundcheck-audio.blogspot.com):::
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix