AudioConverter
AudioConverter
- Subject: AudioConverter
- From: David Collins <email@hidden>
- Date: Wed, 11 Feb 2009 20:57:08 -0600
We are in the process of converting our Windows software to run on the Mac in which we capture audio and video and convert the audio to lpcm for use by our application. Currently I am using QTCaptureSession to capture the audio and video. I am using the AudioConverter to convert the compressed audio to lpcm. And I have a problem. The call to AudioConverterFillComplexBuffer returns !pkd which is I believe is an kAudioConverterErr_RequiresPacketDescriptionsError.
The source is aac audio with 1024 bytes per frame. for 2 channels The quantity of data varies with each packet at 44100 samples rate. The destination rate is 8000 with 32 bits per channel for 2 channels for signed lpcm.
I am new to this stuff and the documentation is not all that great.. Does anyone have an idea about what I might be doing wrong? I am providing an AudioStreamPacketDescription array but I still keep getting the error.
David |
_______________________________________________
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