CFMessagePort, audio sampling and sending UDP packets
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