Add audio to the audio queue from a buffer.



Argument Description
channel_index The index of the recorder channel to stop.

Returns: N/A


This function will stop recording on the given recorder channel (the channel index is returned when you call the function audio_start_recording). When you stop recording, no further Audio Recording Asynchronous Events will be triggered for the given recorder channel, so you would normally use this function in the actual asynchronous event to ensure that you have captured all the data.

NOTE: Most platforms support recording audio in some form, but that does not mean that all devices will permit it, even if the platform does, so you should always check that the audio_get_recorder_count() function returns a value greater than 0 to verify that recording devices are available before using the rest of the recording functions.



The above code tells GameMaker: Studio to stop recording on the given audio channel index.

Back: Audio Buffers
Next: audio_get_recorder_count
© Copyright YoYo Games Ltd. 2018 All Rights Reserved