title: Reading AAC audio from RIFF container on iOS
body: <p>I have a file that is a RIFF container with 3 chunks; RIFF chunk has 'WAVE' identifier. First chunk is 'fmt ', second is 'data', the last is 'eink' (my own chunk). So that file is generated by c# code that use directshow. The audio is encoded in AAC. So I wan't to play the audio, that is stored in 'data' chunk, on iOS 5.*.<br>
    I've tried to read the whole 'data' chunk and use those bytes in <code>[initWithData:error:][1]</code> method of <code>AVAudioPlayer</code>. But it seems to work differently.<br>
    Than I thought, I could try to make my own <code>m4a</code> file with those bytes and play it, but is there any other right way? Please suggest me some ways to investigate it? Where to read? Or other method.</p>