AudioQueueOfflineRender returning empty data
- by hyn
I'm having problems using AudioQueueOfflineRender to decode AAC data.
When I examine the buffer after the call, it is always filled with empty data. I made sure the input buffer is valid and packet descriptions are provided.
I searched and found that a few others have had the same problem:
http://lists.apple.com/archives/Coreaudio-api/2008/Jul/msg00119.html
Also, the inTimestamp argument doesn't make sense to me. Why should the renderer care where in the audio the beginning of the buffer corresponds to? The function throws an error if I pass in NULL, so I pass in the timestamp anyway.