I'm trying to pass dv audio into an audio converter for playback via default output. However, I'm finding very little info on this process. I'm hopign someone can answer a few questions for me.
Current my audio is still muxed (for lack of a better term) with the DV video signal. Do I need to parse this structure and pass just the audio region of the DIF structure? Do I need to pull the audio data out of the DIF structure and reassemble into a single block of data?
How should I be setting up my asbd? Currently I'm trying to pass the whole video frame, with the following values for the asbd:
AudioStreamBasicDescription compressedFormat;
compressedFormat.mSampleRate = 48000;
compressedFormat.mFormatID = 'dvca'; //kAudioFormatDVAudio;
compressedFormat.mFormatFlags = 0;
compressedFormat.mBytesPerPacket = 12000;
compressedFormat.mFramesPerPacket = 1602;
compressedFormat.mBytesPerFrame = 4;
compressedFormat.mChannelsPerFrame = 2;
compressedFormat.mBitsPerChannel = 16;
thanks for any help you can provide.
mike