soundcheck;617858 Wrote: 
> @bluegaspode.
> 
> One more Q: 
> 
> Does anybody know what "decode" is actually doing in terms of binary 
> algebra with the handed over gain value? 
> 
> 
> 
> Cheers

The actual gain computations happen inside jive_alsa, I know exactly
where, I'll take a look at it tonight. 

The routine takes a 16 bit gain and a 24 bit value and returns a 32 bit
value. The 32 bit value is right shifted by 8 bits, MSB zero padded into
32 bits and sent to ALSA. 

John S.


-- 
JohnSwenson
------------------------------------------------------------------------
JohnSwenson's Profile: http://forums.slimdevices.com/member.php?userid=5974
View this thread: http://forums.slimdevices.com/showthread.php?t=84742

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

Reply via email to