Re: Reading AppleOnboardAudio's output buffer (repost)
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