Add control to the sound attenuation by distance.

This commit is contained in:
Jonathan Giroux
2011-12-14 00:32:18 +01:00
parent 362a7835b4
commit 36a93e46c7
17 changed files with 516 additions and 11 deletions
+10
View File
@@ -51,6 +51,16 @@ namespace audio
int w_Source_isStopped(lua_State * L);
int w_Source_isPaused(lua_State * L);
int w_Source_isStatic(lua_State * L);
int w_Source_setMinVolume(lua_State * L);
int w_Source_getMinVolume(lua_State * L);
int w_Source_setMaxVolume(lua_State * L);
int w_Source_getMinVolume(lua_State * L);
int w_Source_setReferenceDistance(lua_State * L);
int w_Source_getReferenceDistance(lua_State * L);
int w_Source_setRolloffFactor(lua_State * L);
int w_Source_getRolloffFactor(lua_State * L);
int w_Source_setMaxDistance(lua_State * L);
int w_Source_getMaxDistance(lua_State * L);
int luaopen_source(lua_State * L);
} // audio