Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Soundmanager on intel



A common problem on Intel vs. SoundMgr is that the output audio hardware is often configured by default to have a format that SoundMgr can't deal with (> 16-bit or > 65535Hz). Go to Audio MIDI Setup (in Applications/Utilities) and see if that's the case. If so, configure it to 48kHz (or 44.1kHz) stereo, and see if that helps.

Greg

On Sep 21, 2006, at 6:06 AM, Marc Van Olmen wrote:

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

_______________________________________________ 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
References: 
 >Soundmanager on intel (From: Marc Van Olmen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.