AudioStream:decode

Returns a new SoundData containing the next chunk of audio in the AudioStream.

soundData = AudioStream:decode()

Arguments

None

Returns

NameTypeDescription
soundDataSoundDataThe SoundData object containing raw audio samples.

Notes

This function may return nil if there isn't any audio left in the stream.

See also