• 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
CFMessagePort, audio sampling and sending UDP packets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFMessagePort, audio sampling and sending UDP packets


  • Subject: CFMessagePort, audio sampling and sending UDP packets
  • From: Joel Reymont <email@hidden>
  • Date: Fri, 13 Feb 2009 20:48:55 +0000

I'm sampling audio at a high rate and need to pump it out via UDP.

I don't think calling sendto from my audio callback is a good idea.

Should I ideally use a CFMessagePort to notify the main thread that there's data to be sent by registering it as a run loop source?

Any other suggestions?

	Thanks, Joel

---
http://tinyco.de
--- Mac & iPhone

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CFMessagePort, audio sampling and sending UDP packets
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Looking for CFSocket UPD setup and data-xfer samples/tutorials
  • Next by Date: Re: CFMessagePort, audio sampling and sending UDP packets
  • Previous by thread: Re: Looking for CFSocket UPD setup and data-xfer samples/tutorials
  • Next by thread: Re: CFMessagePort, audio sampling and sending UDP packets
  • Index(es):
    • Date
    • Thread