• 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
Crash for AAC codec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash for AAC codec


  • Subject: Crash for AAC codec
  • From: "Sandeep Chandna" <email@hidden>
  • Date: Tue, 3 Jun 2008 10:06:07 +0530

Hi,

    In my Audio encoding application I am using QTSetComponentProperty to get codec properties and for encoding. When I call this function for AAC audio codec it crashes on Windows (for QT7.4.5).
    Surprisingly for other QT versions it has worked just fine and the crash was never seen.

    This is how I am calling the function.

    crErr = QTSetComponentProperty( ci , kQTPropertyClass_SCAudio,
        kQTSCAudioPropertyID_BasicDescription,
        sizeof(asbd), &asbd);

    where asbd is

        asbd.mFormatID = 1633772320; // aac
        asbd.mFormatFlags = 0;
        asbd.mBytesPerPacket = 0;
        asbd.mBitsPerChannel = 0;
        asbd.mFramesPerPacket = 0;
        asbd.mBytesPerFrame = 0;
        asbd.mSampleRate = 32000;
        asbd.mChannelsPerFrame = 1;
        asbd.mReserved = 0;

    Is there any way to avoid this crash? Any help is appreciated.

Thanks
~S
 _______________________________________________
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: Crash for AAC codec
      • From: Eric Allamanche <email@hidden>
  • Prev by Date: Re: MIDI Transpose?
  • Next by Date: Re: Crash for AAC codec
  • Previous by thread: RE: MIDI Transpose?
  • Next by thread: Re: Crash for AAC codec
  • Index(es):
    • Date
    • Thread