Converters and audio input
Converters and audio input
- Subject: Converters and audio input
- From: Ruotger Skupin <email@hidden>
- Date: Mon, 21 Nov 2005 16:45:56 +0100
Hi,
I have a problem with AudioConverters. Maybe I just started with the
wrong idea...
I have this setup:
audio input)-->(converter 44.1kHz stereo/8kHz mono)-->(ring buffer)-->
(some processing)-->(converter 8kHz mono/44kHz stereo)-->(audio output
While the part on the right side of the ring buffer seems to work ok,
the converter on the left side behaves a little strange. It is
impossible to choose an ioOutputPacketDataSize for
AudioConverterFillComplexBuffer() so that it doesn't pull too many or
too little frames from my AudioConverterComplexInputDataProc().
Even worse, when the converter tries to pull more frames than I have
and I tell it something like *ioNumberDataPackets = 0, it doesn't
stop to call me but goes on for a dozen more times. After that the
whole audio processing freezes.
regards
Ruotger Skupin
Ruotger Skupin
Mac OS X Software Engineering
ilink Kommunikationssysteme GmbH
Münzstr. 13; 10178 Berlin - Germany
email@hidden
_______________________________________________
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