• 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
OpenAl Start/Stop crackle/pop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenAl Start/Stop crackle/pop


  • Subject: OpenAl Start/Stop crackle/pop
  • From: "Stefan Alder" <email@hidden>
  • Date: Wed, 7 Jan 2009 13:33:54 -0800

I'm using OpenAl to play a view different looping sounds.  On calling alSourceStop, a crackle/pop sound is frequently produced.  AlSourceStart then also produces a similar sound.

1) Stop crackle
It seems that alSourceStop causes the sound to stop immediately, sometimes when the waveform amplitude is > 0, in turn causes the crackle.  I can understand this, but I'm wondering if anyone can recommend a way to minimize this, i.e. perhaps stopping the sound when the waveform passes through 0?

2) Start crackle
Before calling alSourceStart, the buffers are unqueued from the source, which as far as I can understand should clear the soure queue.  But, it seems that some samples are left in the source's queue from the previous playback.  Is there anyway to clear these?

Thanks!
 _______________________________________________
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

  • Follow-Ups:
    • Re: OpenAl Start/Stop crackle/pop
      • From: Bob Lang <email@hidden>
  • Prev by Date: Re: OSX 10.5.6 breaks our user-land driver
  • Next by Date: Re: MovieAudioExtractionFillBuffer
  • Previous by thread: What is this notice in log after I call AudioFileStreamParseBytes
  • Next by thread: Re: OpenAl Start/Stop crackle/pop
  • Index(es):
    • Date
    • Thread