Re: Basic AudioQueue Service issue
Re: Basic AudioQueue Service issue
- Subject: Re: Basic AudioQueue Service issue
- From: Craig Patchett <email@hidden>
- Date: Thu, 23 Oct 2008 22:18:17 -0700
On Oct 23, 2008, at 7:48 PM, William Stewart wrote:
I would:
Use OpenAL directly to play sounds in your game
Use AudioQueue to play back compressed audio backing track. OpenAL
will take an uncompressed stereo file if you hvae that as a stereo
input, but generally you'll have a compressed one
OK, let's try this: I have an uncompressed file and I'm using OpenAL.
I want to restart a sound that's in the middle of playing so I call
alSourceRewind followed by alSourcePlay. The sound starts over but
there is a noticeable "pop" as it does so (presumably from the sudden
change in gain from the middle of the sound to zero at the beginning,
although I'm starting to doubt it). How do I cleanly restart the sound
so as to avoid the "pop"?
Craig
_______________________________________________
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