siCompressionParams Question
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