Re: Audio Queues in a 64-bit Environment Issues
Re: Audio Queues in a 64-bit Environment Issues
- Subject: Re: Audio Queues in a 64-bit Environment Issues
- From: Kyle Sluder <email@hidden>
- Date: Tue, 15 Jun 2010 08:46:48 -0700
On Tue, Jun 15, 2010 at 1:44 AM, Daniel Stenmark <email@hidden> wrote:
> I've recently ported my entire application to 64-bit and everything is working fine except for my audio recorder. Even though the correct parameters (such as sample rate) are being reported when I check the resulting file's information in Quicktime, the file either has consistent gaps, is playing at a much higher speed, or is playing at a much lower speed.
>
> I should note that I explicitly type all of my variables, in that I use descriptive types names such as UInt32 and SInt16 for everything instead of using plain 'int' or 'long'.
You need to post code. Merely using fixed-size types for everything
isn't appropriate; if a function is declared to take a long, then it
needs to be a 32-bit value on 32-bit and a 64-bit value on 64-bit,
regardless of whatever typecasting you want to apply.
--Kyle Sluder
_______________________________________________
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