hi,
is there a document about Soundmanager on intel?
(I know I need to go to coreAudio, but no time yet....)
just wondering what I have to take into account?
I know that the samples in Float needs to be converted CFSwapInt32
Saw that in some older e-mails.
But I was wondering about SampleRate..:
UnsignedFixed ConvertFloat64ToUnsignedFixed(Float64 float64Value)
{
UnsignedFixed fixedValue;
// High 2 bytes is the integer part of the value
// Low 2 bytes is the floating point part of the value
fixedValue = ((UInt32)float64Value << 16) + ((UInt16)
((float64Value - floor(float64Value)) * 65536.0));
return fixedValue;
}
because I'm using Sound comressor to decompress my frames: so i
have to set it up..
fSoundOutputComponentData.numChannels =
outputCoreAudioFormat.mChannelsPerFrame;
fSoundOutputComponentData.sampleSize =
outputCoreAudioFormat.mBitsPerChannel;
fSoundOutputComponentData.sampleRate =
ConvertFloat64ToUnsignedFixed(outputCoreAudioFormat.mSampleRate);
fSoundOutputComponentData.sampleCount = 0;
fSoundOutputComponentData.buffer = NULL; ///CFSw
fSoundOutputComponentData.reserved = 0;
Is that still working because how are Fixed interpreted on Intel
machine?
because currently I hear no sound and I'm wondering what I'm doing
wrong...
cheers
marc_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden