Using AudioDecoder to load audio assets

Using AudioDecoder to load audio assets

BY 03 Sep 2013 Native Application Development

Hi,

 

I’m working in a project where I’m loading multiple audio files(ogg vorbis files) into memory and decode them. I’m using AudioDecoder as instructed in the reference pages. It’s successfully decoding the first file I feed(and doesn’t matter which one I feed first) but starts failing in AudioDecoder::Probe() for the files coming after. I tried calling AudioDecoder::Reset() before calling AudioDecoder::Probe() and AudioDecoder::Decode() but that doesn’t seem to help either.

 

I’d appreciate any help.

Thanks,

-Üstün

Written by