Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
- First install latest samyGOso as usual, if needed.
- Extract attached archives and copy libSpdifVolume.so to /mnt/opt/privateer/usr/libso (create folder if needed).
- Execute
Code: Select all
samyGOso -d -T -B -r -l /mnt/opt/privateer/usr/libso/libSpdifVolume.so [THRESHOLD:x] [STEP:y]
- THRESHOLD:x - Define output gain value corresponding to volume=0. If not specified, default is -20dB (THRESHOLD:-20) which is near to silence, not mute though. All depends on your amp volume.
- STEP:y - Number of dB to increase/decrease on each volume step. If not specified, default is ?1dB (STEP:1).
If external speaker is set as main (internal muted), TV won't allow to go over volume corresponding to max gain.
Current volume/gain are logged to /dtv/SpdifVolume.log
Code: Select all
[...]
[SpdifVolume] Activating SPDIF volume control with RC!
[SpdifVolume] Vol0 threshold: -20dB, Step: 1dB
[SpdifVolume] Current volume is: 23, setting gain to -7dB
[...]
[SpdifVolume] Vol: 8, Gain: -12dB
[SpdifVolume] Vol: 9, Gain: -11dB
[SpdifVolume] Vol: 10, Gain: -10dB
[SpdifVolume] Vol: 11, Gain: -9dB
[SpdifVolume] Vol: 12, Gain: -8dB
- Autostart
- Copy 99_93_SpdifVolume.init to /mnt/etc/init.d
- Set permissions
Code: Select all
chmod +x /mnt/etc/init.d/99_93_SpdifVolume.init
- You can change OPTIONS value on top of script, default is none (lib defaults). You can set for example:
Code: Select all
OPTIONS="THRESHOLD:-30 STEP:2"
Code: Select all
27/2/2016
v0.1.4 - INTERNALMUTE deprecated, ext speaker selection is enough to mute internal
- Fix for volume slider not to go uselessly over max in below case
v0.1.3 - Now allowing volume control when ext speaker is selected as main
8/10/2015
v0.1.2 - First public release