- Home /
Byte[] to AudioClip
Hello guys. I am currently working on a streaming radio project and I am facing some problems. I am currently getting data from a streaming url, I save this data to a buffer and I am able to create .wav files that are playable by Windows Media Player when I open them. But, for some reason, I cant make it work for AudioSource in my scene. Even if I try converting my buffer data (byte[]) to AudioClip using this answer here, I am getting an error. Can anyone help me? Is there somethink I need to pay attention at while creating wav files from byte[]?
Chances are the data header is missing, but yeah that would help having more details
Your answer
Follow this Question
Related Questions
Paint 3d export fbx file does not work 1 Answer
what's the problem? (ninja.js) 0 Answers
I can not import the .exr file into my project 0 Answers
How to center a rect in a gui.label 1 Answer