Matt,

I'm a little confused about your exact goal. Metering is generally shown 
visually in real time, and I assume your mp3 stream is also real time, so I 
don't understand why you would be trying to work with offline rendering.

Assuming that you're converting the mp3 stream to audio as it arrives in real 
time, then you should be able to obtain level metering data from the Float32 
audio stream that's being sent through CoreAudio.

Offline processing is for running through data faster than you can listen to it 
(or slower, if the processing is really heavy).

Brian Willoughby
Sound Consulting


On Aug 4, 2015, at 1:19 AM, Matthew Pease <[email protected]> wrote:
>  I'd like to obtain level metering data while the incoming mp3 stream 
> arrives.  About 4 or 5 years back I asked this mailing list how to do this & 
> the answer at that time was to use an offline render queue.  (actually my 
> question at that time was about panning)
> 
>   My idea then was to translate an incoming stream into a PCM file & obtain 
> metering at the same time by using an offline queue.
> 
>   I'm having lots of trouble getting this to work though .  The Offline 
> render queue seems to be a black art.   Using the AQOfflineRenderTest as an 
> example:  For example if you simply change the size of the capture buffer to 
> 1/4 the input buffer, it no longer works.  But why??
> 
>    Is the recommended way to do this still AQ offline rendering or is there 
> an easier way?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to