Quantcast
Channel: Latest Questions by hkessock
Viewing all articles
Browse latest Browse all 51

Anyone been able to load an audio file from local filesystem on iOS and playback a clip?

$
0
0
Using WWW, I have no problem pulling an audio file off of a webserver. Using System.IO.File, I have no problem storing it (an MP3) in the app's Documents folder. I also have no problem using WWW to load it from the local filesystem, and the data is the correct size. The problem I am having is that WWW.getAudioClip appears to work, but the returned audio clip has 0 channels, 0 frequency, 0 samples. The returned clip reports that it is not ready to play, whether streaming or not streaming, and that status NEVER changes... I'm really hoping to avoid decoding MP3 by myself and stuffing it into an audio clip. Help! :)

Viewing all articles
Browse latest Browse all 51

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>