• 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
stopping sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stopping sound


  • Subject: stopping sound
  • From: Roland Silver <email@hidden>
  • Date: Thu, 3 Apr 2008 21:27:09 -0600

Since I don't understand the CoreAudio interface, my program outputs sound using three functions which I lifted from a Sinewave demo without understanding how they work:
CreateDefaultAU();
TestDefaultAU();
CloseDefaultAU();
The program runs for 2 seconds because of the call to CFRunLoopRunInMode in TestDefaultAU:
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 2, false);

What I want is for sound to be generated indefinitely until my program decides it should stop. 

How can I code that?

 _______________________________________________
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: stopping sound
      • From: William Bates <email@hidden>
  • Prev by Date: Re: Meta Parameters
  • Next by Date: Re: Meta Parameters
  • Previous by thread: kAudioQueueParam_Volume having no effect
  • Next by thread: Re: stopping sound
  • Index(es):
    • Date
    • Thread