iphone - Is it possible to access decoded audio data from Audio Queue Services? -
i have app in app store streaming compressed music files on network. i'm using audio queue services handle playback of files.
i processing on files streamed. tested data in audio buffers, not decompressed audio. if i'm streaming mp3 file, buffers little slices of mp3 data.
my question is: ever possible access uncompressed pcm data when using audio queue services? forced switch using audio units?
you use audio conversion services own mp3-to-pcm conversion, apply effect, put pcm queue instead of mp3. it's not going terribly easy, you'd still saved threading challenges of doing directly audio units (which require own conversion anyways , use caringbuffer send samples between download/convert thread , realtime callback thread io unit)
Comments
Post a Comment