Hardware volume control (Cirrus Logic CS4398 DAC)

General discussion about RuneAudio. Do not post any support or feature requests here.

Hardware volume control (Cirrus Logic CS4398 DAC)

Postby The Setlaz » 12 Jun 2015, 21:41

Hi guys,

I'm running RuneAudio on my Raspberry Pi 2 connected to USB DAC (Marantz SA KI Perl Lite - equipped with a Cirrus Logic CS4398 DAC) that supports hardware volume control.

I'm able to change the volume using Alsamixer volume control on the RPI2, however in RuneUI, setting the volume control to "enabled - Hardware" in RuneUI translates into changing the volume of the SoC output (bcm2835) rather the volume of the sound card being used. (hence doing nothing to the actual volume)

Is there something to do to "bind" the volume knob to the sound card being actually used?

Also I noticed with the bcm2835, the volume knob value is not a 1-to-1 mapping to the Alsamixer PCM value
RuneUI: 0 -> 2 AlsamixerPCM (dB Gain -102.37dB)
RuneUI: 10 -> 3 Alsamixer PCM (dB Gain -91.73dB)
RuneUI: 20 -> 4 Alsamixer PCM (dB Gain -81.09dB)
RuneUI: 40 -> 9 Alsamixer PCM (dB Gain -59.81dB)
RuneUI: 60 -> 20 Alsamixer PCM (dB Gain -38.54dB)
RuneUI: 80 -> 44 Alsamixer PCM (dB Gain -17.26dB)
RuneUI: 100 -> 100 Alsamixer PCM (dB Gain +4.00dB)

RuneUI is more in a 1 step = 1dB while Alsamixer has a completely different slope. What is the reason behind that?

Thanks !
The Setlaz
The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

Re: Hardware volume control

Postby hondagx35 » 13 Jun 2015, 01:21

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Hardware volume control

Postby The Setlaz » 14 Jun 2015, 19:11

The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

Re: Hardware volume control

Postby hondagx35 » 15 Jun 2015, 21:19

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Hardware volume control (Cirrus Logic CS4398 DAC)

Postby The Setlaz » 15 Jun 2015, 23:46

The Setlaz
 
Posts: 17
Joined: 12 Jun 2015, 13:46

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 22 guests