AudioStream:write
EditWrites data to the AudioStream.
Arguments
| Name | Type | Description |
| table | {number} | A table containing audio samples to write to the stream. |
Returns
| Name | Type | Description |
| n | number | The number of audio frames that were actually written to the stream. |
Arguments
| Name | Type | Description |
| sound | Sound | A Sound to write to the stream. |
Returns
| Name | Type | Description |
| n | number | The number of audio frames that were actually written to the stream. |
Arguments
| Name | Type | Description |
| blob | Blob | A Blob to write to the stream. |
Returns
| Name | Type | Description |
| n | number | The number of audio frames that were actually written to the stream. |
Notes
Only one thread can write to the stream at a time.