Re: low-pass filter on the iphone (Daniel Birns)
Re: low-pass filter on the iphone (Daniel Birns)
- Subject: Re: low-pass filter on the iphone (Daniel Birns)
- From: "Roni Music" <email@hidden>
- Date: Sun, 7 Dec 2008 21:40:42 +0100
2) Currently I'm using AudioQueue and doing my processing in the
player callback. My current processing is very simple -- I look for
peaks, and shift as necessary to amplify the sound. I realize that
audiounits is the preferred method for this, but since I don't mind
some delay in the start of the playback, I wonder if I should simply
continue like this, since it's simpler.
sure - there's no reason not to be doing what you are doing, where
you
are doing it
But doesn't this mean it will only work with PCM files?
At this point
(I assume this is just before callingAudioQueueEnqueueBuffer() )
mp3 files and other compressed formats are not yet decoded into PCM
format.
I'm asking this since I'm struggling with getting the
AudioQueueOfflineRender() function to work
to be able to perform some DSP processing to the audio before
sending it out
to the audio out device.
The way I use AudioQueueOfflineRender() it produces silence only.
Would appreciate if somebody could explain how to use
AudioQueueOfflineRender() in a correct way.
The available documentation is very sparse and no sample code
Right -- I presume this implies pcm. I will need compressed format
eventually, and I've assumed that I'll have to go to AudioUnits to do
my processing in that event... But a confirmation would be
appreciated...
You cannot create your own AudioUnits for the iPhone and you can't use an
AudioConverter for decoding
aac, mp3 or alac files on the iPhone.
As far as I know the only way to access PCM data on the iPhone is by using
AudioQueueOfflineRender()
but it's still a secret how to get that to work, it's not even clear if it
currently works?
Rolf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden