• 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
Playing a streaming pcm buffer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Playing a streaming pcm buffer?


  • Subject: Playing a streaming pcm buffer?
  • From: Joachim Bengtsson <email@hidden>
  • Date: Sun, 15 Apr 2007 23:08:19 +0200

Hey,

I'm receiving an ordinary interleaved pcmfloat buffer (through the network), and would like to play it. How would one go about doing this? I'm using the kAudioOutputUnitProperty_SetInputCallback property on an AU to capture the audio on the sending end (and then interleaving it using the audioconverter api), so I was thinking I could use something similar on the receiving end. There's the kAudioUnitProperty_SetInputCallback property, but apparently it's deprecated, and there's no pointers in neither the documentation nor the headers of what to use instead (the documentation seems to be out of date and promotes the usage of the above callback).

I found http://www.snoize.com/Code/PlayBufferedSoundFile.tar.gz from http://lists.apple.com/archives/coreaudio-api/2003/Sep/msg00009.html which answered my question perfectly, except that it uses that deprecated property.

Any pointers are greatly appreciated.

Regards,
 Joachim Bengtsson
 _______________________________________________
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 streaming pcm buffer?
      • From: "Harel M. Williams" <email@hidden>
  • Prev by Date: Re: FFT-AU: strange behaviour
  • Next by Date: Re: Playing a streaming pcm buffer?
  • Previous by thread: Re: FFT-AU: strange behaviour
  • Next by thread: Re: Playing a streaming pcm buffer?
  • Index(es):
    • Date
    • Thread