• 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
Glitches when using "Sound Manager" APIs under Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Glitches when using "Sound Manager" APIs under Mac OS X


  • Subject: Glitches when using "Sound Manager" APIs under Mac OS X
  • From: Sylvain Demongeot <email@hidden>
  • Date: Thu, 11 Dec 2003 17:49:20 +0100

Hello.

My app uses the "Sound Manager" APIs (SndDoCommand) to output sounds under
Mac OS X.
I get glitches under Panther when the CPU is very active (eg when
minimizing).
This is not a problem with the feeder thread's priority (the buffers are
large enough so the feeder thread is never too late).
Rather, I would say the priority of the Sound Manager (or QuickTime if you
prefer) itself is too low to get the "bufferCmd" job done in time.
This is very weird -- it used to work quite well.
Apple's own sample code, "SoundPlayer", suffers from glitches (even when
buffers are set large enough for cycles of more than 1 second).
On the other hand, the "Million Monkeys" Core Audio sample works perfectly
in the same situations (the feeder thread must have at least a fixed
priority).
Does this mean QuickTime feeds Core Audio with a thread with low priority?
Are the Sound Manager APIs useless under Panther? Is Core Audio required for
glitch-free sound output?

Thanks for your thoughts,
Sylvain

--
Sylvain Demongeot - The Wild Bits
http://www.wildbits.com/
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Glitches when using "Sound Manager" APIs under Mac OS X
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: AU from scratch
  • Next by Date: How to get loop info from Audiofile
  • Previous by thread: Re: Drum Kits in Apple's DLS Synth
  • Next by thread: Re: Glitches when using "Sound Manager" APIs under Mac OS X
  • Index(es):
    • Date
    • Thread