mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CLuaInstance: Add multiple script functions for mute icon & volume
- Functions: enableMuteIcon, isMuted, AudioMute, setVolume, getVolume - This allows to save volume/mute status at plugin start and restore it on exit. - Set Lua api version to 1.35
This commit is contained in:
@@ -54,6 +54,11 @@ class CLuaInstMisc
|
||||
static int strFind(lua_State *L);
|
||||
static int strSub(lua_State *L);
|
||||
static int enableInfoClock(lua_State *L);
|
||||
static int enableMuteIcon(lua_State *L);
|
||||
static int setVolume(lua_State *L);
|
||||
static int getVolume(lua_State *L);
|
||||
static int AudioMute(lua_State *L);
|
||||
static int isMuted(lua_State *L);
|
||||
static int runScriptExt(lua_State *L);
|
||||
static int GetRevision(lua_State *L);
|
||||
static int checkVersion(lua_State *L);
|
||||
|
Reference in New Issue
Block a user