• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Basic AudioQueue Service issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RE: Basic AudioQueue Service issue (From: email@hidden)
 >Re: Basic AudioQueue Service issue (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: Newbie problems Cocoa, objective-C using CoreAudio C libraries
  • Next by Date: Re: using AUMatrixMixer & format conversions
  • Previous by thread: Re: Basic AudioQueue Service issue
  • Next by thread: Re: Basic AudioQueue Service issue
  • Index(es):
    • Date
    • Thread