Kodi Community Forum
Linux Set constant audio volume - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Set constant audio volume (/showthread.php?tid=216222)



Set constant audio volume - wripet - 2015-01-25

Is there any way to fix the audio output from Kodi, but still use the volume controls? I know, it sounds like a strange question, but what I am trying to do is change the volume within Kodi, and then read its value in a python script and set my AVR accordingly, but still get the same output from Kodi. That way, I would be able to control my AVRs volume from within the XBMC remote.


RE: Set constant audio volume - fritsch - 2015-01-25

you need to extend AESink.h, overwrite SetVolume and delegate this to your external volume switch.

I would just make the xbmc volume ignore the volume keys and bind them to your custom script.


Set constant audio volume - wripet - 2015-01-25

But that doesn't work when using the xbmc remote. So the only way to get it done is a dirty hack?


RE: Set constant audio volume - fritsch - 2015-01-26

Implement your own sink by extending AESink.h and overwrite SetVolume as said above.