• 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
Question about the IOAudioEngine::clipOutputSamples()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about the IOAudioEngine::clipOutputSamples()


  • Subject: Question about the IOAudioEngine::clipOutputSamples()
  • From: "David Tan" <email@hidden>
  • Date: Wed, 19 Nov 2008 09:38:49 +0800

Hi All,

 

Could you please clear my confusion?

 

Now I want to process audio data while playing music. So I overrode the IOAudioEngine::clipOutputSamples() and get audio data from its first parameter: const void* mixBuf

However, it seems that the clipOutputSamples() in my derived class would never be called. I’m totally confused of it.

I don’t set AudioIOFunction in my IOAudioStream. Does the IOAudioFamily use clipOutputSamples() instead, doesn’t it?

 

If anyone could give me some clarification of it, I’ll be very grateful. Thanks a lot!

 

BTW, the derived IOAudioEngine and its IOAudioStream can show up in the I/O Registry. And I can see my audio engine in Sound Preference Pane.

 

Best Regards,

David Tan,

 

 _______________________________________________
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

  • Follow-Ups:
    • Re: Question about the IOAudioEngine::clipOutputSamples()
      • From: Jeff Moore <email@hidden>
  • Prev by Date: CAF file anomalies
  • Next by Date: Re: CAF file anomalies
  • Previous by thread: Re: CAF file anomalies
  • Next by thread: Re: Question about the IOAudioEngine::clipOutputSamples()
  • Index(es):
    • Date
    • Thread