• 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: playing a pcm buffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playing a pcm buffer


  • Subject: Re: playing a pcm buffer
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 4 Oct 2006 18:04:50 -0700

There really isn't a mechanism on Mac OS X that works like you are used to with wave out on Windows.

At any rate, for basic playback, you should check out the sample code in /Developer/Examples/CoreAudio/SimpleSDK/DefaultOutputUnit

On Oct 4, 2006, at 5:53 PM, Daniel Birns wrote:

I need to play pcm buffers asynchronously.

I've spent way too much time looking for how to do this on my own. I could use some help.

Our data will be 11k 8-bit mono.

On windows (for reference), we're doing this with waveOutPrepareHeader() and waveOutWrite().

There's a callback we get when the buffer is played.

We need a similar mechanism for the mac.


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: playing a pcm buffer
      • From: "Daniel Birns" <email@hidden>
References: 
 >playing a pcm buffer (From: "Daniel Birns" <email@hidden>)

  • Prev by Date: playing a pcm buffer
  • Next by Date: Re: setting property problem in audioengine
  • Previous by thread: playing a pcm buffer
  • Next by thread: Re: playing a pcm buffer
  • Index(es):
    • Date
    • Thread