Sound.CreateStream
static Sound CreateStream(float streamBufferDuration)
Create a sound used for streaming audio in or out! This is useful for things like reading from a microphone stream, or playing audio from a source streaming over the network, or even procedural sounds that are generated on the fly!
Use stream sounds with the WriteSamples and ReadSamples functions.
float streamBufferDuration | How much audio time should this stream be able to hold without writing back over itself? |
RETURNS: Sound | A stream sound that can be read and written to. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!