If you provide an explicitly NULL AudioContext to
NewMovieFromProperties(), then you will get the behavior you seek.
Remember that the property must contain a valid address, eg:
QTAudioContextRef ac = NULL;
initProps[n].propClass = kQTPropertyClass_Context;
initProps[n].propID = kQTContextPropertyID_AudioContext;
initProps[n].propValueSize = sizeof (QTAudioContextRef);
initProps[n].propValueAddress = ∾
initProps[n].propStatus = 0;
Daniel Steinberg
QuickTime Engineering
At 12:11 AM -0400 9/27/06, Marc Van Olmen wrote:
Is there a way to set up:
NewMovieFromProperties
so that it doesn't attach any of the Audio Channels to a coreAudio
output and same way with graphics. I just want to open movie for
retrieving the native samples . So i don't care like setting up a
QTVisualContext and CoreAudio
Didn't found anything for kQTContextPropertyID_AudioContext and
setting no audio output.
QTAudioContextCreateForAudioDevice I'm not sure if you pass null it
would create an 'empty' audiocontext?
regards,
marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden