Re: Streaming Graph to file
Re: Streaming Graph to file
- Subject: Re: Streaming Graph to file
- From: William Stewart <email@hidden>
- Date: Tue, 7 Mar 2006 12:42:05 -0800
What does CAStream's Print method print out? That is a great way to
display the contents...
BIll
On 07/03/2006, at 12:39 PM, Geoff Hufford wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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