{
InputStream stream = resource.getInputStream();
if(stream != null)
{
OggVorbisDecoder oggdec = new OggVorbisDecoder(stream, 256, outputNumSamplesPerChannel);
mNumChannels = oggdec.getNumChannels();
mSampleRate = oggdec.getSampleRate();
decoder = oggdec;
}
}
catch(Exception exception) { decoder = null; }
break;