- Home /
Create AudioSource from wave in memory
I'm trying to create an AudioSource to play a C# MemoryStream that contains a wave file. However, all the examples that I can see need a resource loaded from a physical file on disk. How do I load and play a wave residing in a MemoryStream?
Comment
Your answer
Follow this Question
Related Questions
Avoiding audio transcoding in Unity? 1 Answer
How can I check the scene and play audio accordingly? 1 Answer
Why does the audio sound different than the original ? 0 Answers
if !audio.isPlaying for any object, not just this one. 1 Answer
Play audio when destroying gameobject without removing sprite 1 Answer