Re: HALOutputUnit (Pt 2)
Re: HALOutputUnit (Pt 2)
- Subject: Re: HALOutputUnit (Pt 2)
- From: Bob Stuller <email@hidden>
- Date: Wed, 25 Feb 2004 15:34:12 -0500
Aaron, Greetings!
At 10:20 AM -0800 2/25/04, Aaron Eppolito wrote:
Question: At what point do you attach the device to the HALAU? I
gather that the HALAU is one of the entities that can have its
format changed after initialization... so the order that this is
done should not matter. Would you agree with that assessment?
Before the steps above. And no, the order DOES matter.
Okay, here's a list of ALL the steps I take.
[snip]
11 - initialize AudioUnit or AUGraph (depending on if you used a graph or not)
THANKS! This is the crucial bit that has turned the tide for me. I
was initializing the HALOutputUnit right after making the component
instance, that is, ~Step #2 in your list. Thanks very much for your
help. Data is flowing beautifully at 16kHz.
My callback is getting hit at twice the rate that it should be so I
may yet have some channel issues... but still I am relieved to see
real data.
Others that are pursing this setup would do well to mark down Aaron's
steps... even if you are producing sample code.. B-)
Peace,
Bob
--
In theory, there is no difference between theory and practice. In
practice, there is.
- Yogi Berra
_______________________________________________
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.