Re: Streaming Graph to file
Re: Streaming Graph to file
- Subject: Re: Streaming Graph to file
- From: Geoff Hufford <email@hidden>
- Date: Tue, 07 Mar 2006 14:39:27 -0600
On 3/6/06 1:45 PM, "Doug Wyatt" <email@hidden> wrote:
> To understand why this is failing, let's see inputStreamFormat and
> the format you've set on the file. Also, what type of audio file is
> it? Either one of the two formats is incorrectly specified (and the
> error's coming from the creation of an internal audio converter) or
> it could be that the format you've specified for the file is not
> supported for that file type.
The problem did lie in the output format I was specifying. It was confusing
because, as you note, the error is triggered in the ExtAudioFileSetProperty
function rather than ExtAudioFileCreateNew.
I have the graph exporting out to AIFF 16 bit, and Wave 16/32 bit. I am
still doing something incorrect for AIFF 32 float. Can you see it below?
CAStreamBasicDescription AIFF32(44100, kAudioFormatLinearPCM, 8, 1, 8, 2,
32, kAudioFormatFlagIsBigEndian + kAudioFormatFlagIsFloat +
kAudioFormatFlagIsPacked);
Geoff
_______________________________________________
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