From fe15e836bd87963d10bd301a3a24652763059e0d Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 6 Apr 2023 19:19:44 +0300 Subject: Switched to Raylib vertion 4.5. Removed some functions and added others. Main changes to camera3D. --- src/audio.c | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) (limited to 'src/audio.c') diff --git a/src/audio.c b/src/audio.c index 70c38e7..d62fcfd 100644 --- a/src/audio.c +++ b/src/audio.c @@ -397,56 +397,6 @@ int laudioResumeSound( lua_State *L ) { return 1; } -/* -> success = RL.PlaySoundMulti( Sound sound ) - -Play a sound ( Using multichannel buffer pool ) - -- Failure return false -- Success return true -*/ -int laudioPlaySoundMulti( lua_State *L ) { - if ( !lua_isnumber( L, -1 ) ) { - TraceLog( LOG_WARNING, "%s", "Bad call of function. RL.PlaySoundMulti( Sound sound )" ); - lua_pushboolean( L, false ); - return 1; - } - size_t soundId = lua_tointeger( L, -1 ); - - if ( !validSound( soundId ) ) { - lua_pushboolean( L, false ); - return 1; - } - PlaySoundMulti( *state->sounds[ soundId ] ); - lua_pushboolean( L, true ); - - return 1; -} - -/* -> RL.StopSoundMulti() - -Stop any sound playing ( using multichannel buffer pool ) -*/ -int laudioStopSoundMulti( lua_State *L ) { - StopSoundMulti(); - - return 0; -} - -/* -> count = RL.GetSoundsPlaying() - -Get number of sounds playing in the multichannel - -- Success return int -*/ -int laudioGetSoundsPlaying( lua_State *L ) { - lua_pushinteger( L, GetSoundsPlaying() ); - - return 1; -} - /* > playing = RL.IsSoundPlaying( Sound sound ) -- cgit v1.2.3