[]
Creates a SoundObject from a specified stream.
Note that only a limited set of audio formats is supported, see AudioFormat for details.
public static SoundObject FromStream(Stream stream, AudioFormat audioFormat = AudioFormat.Auto)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream with audio data. |
| AudioFormat | audioFormat | The audio format. |
| Type | Description |
|---|---|
| SoundObject | The created SoundObject. |