2013-10-02, 17:58
Hi,
I'm trying to understand how XBMC manages volume, but after reading the sources, I'm not sure that I'v understood it correctly.
When users change volume (either by key ACTION_VOLUME_UP/DOWN or dialog audio/subtitle volume slider), the global application method CApplication::SetVolume() is called.
The method set hardware volume, then call player SetVolume() if it supports volume control.
What is the need to set volume on both hardware and players?
(even if only omxplayer & amlplayer supports it)
Thanks
I'm trying to understand how XBMC manages volume, but after reading the sources, I'm not sure that I'v understood it correctly.
When users change volume (either by key ACTION_VOLUME_UP/DOWN or dialog audio/subtitle volume slider), the global application method CApplication::SetVolume() is called.
The method set hardware volume, then call player SetVolume() if it supports volume control.
What is the need to set volume on both hardware and players?
(even if only omxplayer & amlplayer supports it)
Thanks