darrenyeats wrote: 
> Fixing client volume to 100 disables the attenuation on the client,
> however, the server-side volume can still be adjusted (it simply will
> not be pushed to client).
> 
> But any time you reset the volume from the client end, the client pushes
> its volume (100) to the server. Same goes for system boot up. This is
> why client volume controls must be avoided. Also this is why VolumeLock
> plugin must be used - it near-instantly reduces to the set limit the
> server volume (but not the client volume which is always 100).
> 
> The gain adjustment is achieved by adding to the Perl code for
> convert.conf a new capability, 'G', to control sox gain value. Also,
> convert.conf has to use the capability correctly. This is why volume is
> applied on new track, prev/next track and skipping in the track – this
> is when convert.conf is reapplied (“tokenized”) in the code.
> 
> The capability G can be added for other codecs and even in other
> 'convert.conf's, I think. Have a look at the convert.conf to get the
> idea.
> 
> I developed the changes by soft linking from my LMS install into my git
> clone of the slimserver repo. There was no tag for 7.7.6 though by my
> reckoning the commit for 7.7.6 (or near enough) was 1269a64. I branched
> from there. So I can I patch these changes to other branches. I could
> even put in a pull request to the project but a hack in this form is in
> no fit state for that.
> 
> Anybody got a better idea? Or does a developer want to take the idea and
> re-code something that's less of a hack? In my defense, I'm not a
> developer (though I know Perl). And I'm too busy.
> 
> Regards,
> Darren
Interesting idea Darren. Does the native LMS volume control not dither?
Will this work for any LMS platform (eg QNAP). Could you produce a
version for 7.9. I'm guessing that most people are on that these days.


------------------------------------------------------------------------
adamdea's Profile: http://forums.slimdevices.com/member.php?userid=37603
View this thread: http://forums.slimdevices.com/showthread.php?t=104629

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

Reply via email to