• 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
Re: Reading AppleOnboardAudio's output buffer (repost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading AppleOnboardAudio's output buffer (repost)


  • Subject: Re: Reading AppleOnboardAudio's output buffer (repost)
  • From: Eric Christiansen <email@hidden>
  • Date: Tue, 05 Aug 2008 09:23:22 -0400

Thanks Tahome,

I'm trying to record what is going to the speaker. Apple docs say you were able to read the output buffer in OS9, but that changed in OSX. So I just want to be able to read what was written to the buffer (in realtime of course) and listen to it later.

Out-of-the-box the only data coming out of the AppleOnboardAudio driver that I can see is the microphone. I was wondering if I overlooked something.

I was asking around at WWDC and was told to stay in user land if at all possible and was pointed to the "SampleHardwareDriver". But I think my notes are wrong because I see a "SampleHardwarePlugin" and a "SampleDriverPlugin" and neither seemed a good fit (but I'm pretty dense :).

My current plan is to modify the AppleOnboardAudio driver and just use it. But like all good programmers I'm pretty lazy and would like use the easiest correct solution.

Thanks again,
Eric


On Aug 5, 2008, at 2:54 AM, tahome izwah wrote:

Maybe you could describe what you're trying to do? I'm not 100% sure
that kind of advice you're asking for...

--th

2008/8/3 Eric Christiansen <email@hidden>:
I'm trying to read the speaker's buffer. The AudioReflector example shows
how to use the ClipOutputSamples to get the data, but I would need to modify
the AppleOnboardAudio code (even though it is open source).


Anyone know of a user land solution? Hate inventing wheels and all that...

Thanks for your help!
Eric Christiansen
508.823.6818
_______________________________________________
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

_______________________________________________ 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: Reading AppleOnboardAudio's output buffer (repost)
      • From: Jeff Moore <email@hidden>
    • Logic 8 and kAudioUnitParameterFlag_DisplayLogarithmic flag
      • From: Ken Bogdanowicz <email@hidden>
References: 
 >Reading AppleOnboardAudio's output buffer (repost) (From: Eric Christiansen <email@hidden>)
 >Re: Reading AppleOnboardAudio's output buffer (repost) (From: "tahome izwah" <email@hidden>)

  • Prev by Date: Re: kAudioStreamPropertyPhysicalFormats (repost)
  • Next by Date: Logic 8 and kAudioUnitParameterFlag_DisplayLogarithmic flag
  • Previous by thread: Re: Reading AppleOnboardAudio's output buffer (repost)
  • Next by thread: Logic 8 and kAudioUnitParameterFlag_DisplayLogarithmic flag
  • Index(es):
    • Date
    • Thread