opensubscriber
   Find in this group all groups
 
Unknown more information…

d : darwin-drivers@lists.apple.com 5 November 2005 • 3:16AM -0500

Audio driver outside kernel
by try another

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello:
I have been studying the PhantomAudioDriver sample in order to write my own
audio driver.  I see that the timerFired (IOTimerEventSource) is simulating
a DMA interrupt.  When this "interrupt" occurs,  it means that the
currentBlock has been transferred.
I would like to do this from a userland application.  Any suggestions on how
I could do this?
I thought of sharing the outputBuffer and the currentBlock with the userland
app, but I would need to modify the userclient.  I don't think I have access
to it; it's provided for me by the IOAudioDevice?
The other problem with this approach is: how do I timestamp the wrap-around
of the ring buffer from the userland app?
Any suggestions or recommendations?

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSNĀ® Premium right now and get the
first two months FREE*.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (Darwin-drivers@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.