• 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
siCompressionParams Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

siCompressionParams Question


  • Subject: siCompressionParams Question
  • From: "Raman Sharma" <email@hidden>
  • Date: Tue, 18 Apr 2006 19:31:58 +0530

I am trying to decompress audio and compress it back. Everything goes
haywire when I call the following sequence of functions :-

err = SoundConverterGetInfo(sc, siCompressionParams, &destCompParams);
if (err == noErr)
    err = SoundConverterSetInfo(sc, siCompressionParams, *destCompParams);

After calling the functions above when I call :-
err = SoundConverterGetInfo(sc, siCompressionFactor, &destCompInfo);

the value of destCompInfo.bytesPerPacket is zero.

Interestingly this happens only in case of the codecs which have
custom data. Because in other cases the function SoundConverterSetInfo
above is not called and everything works fine. Anyone knows what could
be going wrong ?

Thank you,
-Raman
 _______________________________________________
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: siCompressionParams Question
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: AU state & MaximumFramesPerSlice
  • Next by Date: HAL Thread question
  • Previous by thread: A few more questions on QT-CA data transfers, and spontaneous AU uninitialization
  • Next by thread: Re: siCompressionParams Question
  • Index(es):
    • Date
    • Thread