Update RingRayLib - raylib.c - Add Function : void ResumeAudioStream(AudioStream stream)
@@ -6940,6 +6940,18 @@ RING_FUNC(ring_PauseAudioStream)
ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"AudioStream"));
}
+
+RING_FUNC(ring_ResumeAudioStream)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ ResumeAudioStream(* (AudioStream *) RING_API_GETCPOINTER(1,"AudioStream"));
+ if (RING_API_ISCPOINTERNOTASSIGNED(1))
+ ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"AudioStream"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -7337,4 +7349,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("isaudiobufferprocessed",ring_IsAudioBufferProcessed);
ring_vm_funcregister("playaudiostream",ring_PlayAudioStream);
ring_vm_funcregister("pauseaudiostream",ring_PauseAudioStream);
+ ring_vm_funcregister("resumeaudiostream",ring_ResumeAudioStream);
}
