• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CloseComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CloseComponent
      • From: Brad Ford <email@hidden>
  • Prev by Date: Re: Converting to LPCM 32bit
  • Next by Date: Re: Jack and CoreAudio (was Mirroring Audio Output)
  • Previous by thread: Re: [Newby] : how to mix Quicktime sound tracks with live audio ?
  • Next by thread: Re: CloseComponent
  • Index(es):
    • Date
    • Thread