Understanding JACK's inner loop?
Hello all,
I am trying to understand the specifics of the mechanism that JACK uses to perform audio duplexing (simultaneous playback and capture of audio). I have downloaded the latest source from CVS. Is the file 'alsa_driver.c' a good place to start (i.e. is this where the magic happens)? Does JACK use memory-mapped read/write?
Any info. greatly appreciated.
Cheers, rjc.
--
Ryan Cassidy
Electrical Engineering Graduate Student, CCRMA Researcher Stanford University
E-mail: [email protected]
Hi, Ryan
If you're interested in the mechanics of full duplex memory-mapped i/o with ALSA-lib you could always check out PortAudio v19 CVS at www.portaudio.com, which implements both a blocking and callback interface. If you're interested specifically in JACK interfacing with ALSA-lib I would think alsa_driver.c would be the place to look.
Hope this helps
Arve Knudsen
Quoted 8 lines · Ryan Cassidy
Hello all,
I am trying to understand the specifics of the mechanism that JACK uses to perform audio duplexing (simultaneous playback and capture of audio). I have downloaded the latest source from CVS. Is the file '
alsa_driver.c' a good place to start (i.e. is this where the magic happens)? Does JACK use memory-mapped read/write?
Quoted 9 lines
Any info. greatly appreciated.
Cheers, rjc.
--
Ryan Cassidy
Electrical Engineering Graduate Student, CCRMA Researcher Stanford University
E-mail: [email protected]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/