• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Jeremy Sagan <email@hidden>
  • Date: Thu, 19 Sep 2002 16:08:52 -0400

I want to get the maximum dispatch speed so I am trying to implement fast dispatching. What is wrong with this code (I could not find any examples using fast dispatching)? The render code works if m_audioUnitRenderRoutine is nil.

setup code:

outDataSize = sizeof(m_audioUnitRenderRoutine);
AudioUnitGetProperty(au, kAudioUnitProperty_FastDispatch, kAudioUnitScope_Global,
kAudioUnitRenderSelect, &m_audioUnitRenderRoutine, &outDataSize);
render code:

AudioUnitRenderProc ARP = (AudioUnitRenderProc) m_audioUnitRenderRoutine;
if (!ARP)
ARP = (AudioUnitRenderProc)AudioUnitRender;
ARP(m_audioUnit, 0, &theTime, buss, sampleFrames, (AudioBufferList *)&ioData);
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Fast Dispatch
      • From: Bill Stewart <email@hidden>
References: 
 >Re: MIDITimeStamp and MIDIReceived (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Should MIDINotifyProc work in command-line programs?
  • Next by Date: re: quicktime midi bug in jaguar
  • Previous by thread: Re: MIDITimeStamp and MIDIReceived
  • Next by thread: Re: Fast Dispatch
  • Index(es):
    • Date
    • Thread