2 Copyright (c)2006-2007 - Brett Lajzer
4 See LICENSE for license information.
7 #include "SoundEngine.h"
10 #include "funcs_sound.h"
12 //function to play a sample
13 int l_playsample(lua_State
*L
){
14 SoundEngine::play_sample(luaL_checkstring(L
,1));
18 //function to play music
19 int l_playmusic(lua_State
*L
){
20 SoundEngine::play_music(luaL_checkstring(L
,1),lua_tointeger(L
,2));
24 //function to stop music
25 int l_stopmusic(lua_State
*L
){
26 SoundEngine::stop_music();