Question about latency on the line-in port
Question about latency on the line-in port
- Subject: Question about latency on the line-in port
- From: Rob Ross <email@hidden>
- Date: Tue, 9 Jun 2009 02:43:25 -0700
I have never written any CoreAudio apps because frankly, the
documentation scares me :)
I have a general high-level question. Say you want to write a
GarageBand type application, where you want to play an instrument like
a guitar, and plug it into the line-in jack of the Mac, and read the
data samples as you play, and write them immediately to the line-out
port; i.e., I want to hear myself play in real time (or as close to
real time as possible.)
Is this achievable using CoreAudio? What is the minimum latency in
reading a number of samples from the line-in port? Can I achieve sub-
millisecond latency, say if my buffer is 1024 or 512 bytes, at a
sample rate of 44000 - 48000?
Thanks!
Rob
_______________________________________________
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