mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Updated audio example
This commit is contained in:
parent
6ac83ca6df
commit
04eb578892
2 changed files with 2 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ while true do
|
|||
gfx.text(5, 65, "Speed: "..(speed*100).."% - Left balance: "..(leftBalance*100).."%")
|
||||
gfx.stop()
|
||||
|
||||
audio.update()
|
||||
gfx.render()
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -931,7 +931,7 @@ static int audio_object_stop(lua_State *L) {
|
|||
/***
|
||||
Returns the audio object type.
|
||||
@function :type
|
||||
@treturn string "ogg" or "wav"
|
||||
@treturn string "ogg", "wav" or "raw"
|
||||
*/
|
||||
static int audio_object_type(lua_State *L) {
|
||||
audio_userdata *audio = luaL_checkudata(L, 1, "LAudio");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue