CloseComponent
CloseComponent
- Subject: CloseComponent
- From: "Sandeep Chandna" <email@hidden>
- Date: Thu, 11 Jan 2007 12:04:21 +0530
Hi,
To get the list of supported audio codecs in Quicktime I am doing the following:
OpenADefaultComponent(StandardCompressionType, StandardCompressionSubTypeAudio, &ci);
QTGetComponentPropertyInfo(ci,kQTPropertyClass_SCAudio,kQTSCAudioPropertyID_AvailableCompressionFormatList,NULL,&listSize,NULL);
QTGetComponentProperty(ci,kQTPropertyClass_SCAudio,kQTSCAudioPropertyID_AvailableCompressionFormatList,listSize,listFormats,&listSize);
QTGetComponentProperty(ci,kQTPropertyClass_SCAudio,kQTSCAudioPropertyID_AvailableCompressionFormatNamesList,codecNamesListSize,&codecNamesList,&codecNamesListSize);
//I get the list perfectly fine with above code
now when I do CloseComponent(ci); , it crashes complaining of bad memory excess (EXC_BAD_ACCESS). If I dont do CloseComponent everything goes fine. Am I missing out something here?
Thanks
Sandeep
_______________________________________________
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