- Home /
Question by
Drakhex666 · Sep 09, 2014 at 05:18 PM ·
androidaudiofindexternal
Find audio in android
Hi
I'm trying to find an audio that I record and save to path application.persistentDataPath in android, beware perfect, but when I want to bring her back www.audioClip I aparace error can not open, I found testing it really is not that it can not open, but it did not find the audio file.
This is the code that I occupy to find the audio
IEnumerator BuscarAudio (string path)
{
var www = new WWW ("file: ///" + path);
yield return www;
Debug.log (www.url);
if (null == www.error)
{
_aud.clip = www.audioClip;
_aud.Play ();
}
else
{
Debug.log (www.error);
}
}
Hopefully they can help me please
Comment