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:
M. Liebmann
2015-12-22 11:11:09 +01:00
parent ee73678d8f
commit 6f939800b6
3 changed files with 66 additions and 1 deletions

View File

@@ -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);