| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Mar 19, 2007, at 1:24 PM, Michael Dautermann wrote:
Hi Jeff, thanks for following up!
On Mar 19, 2007, at 12:45 PM, Jeff Moore wrote:
My audio plug-in should be selectable without having live audio streams (or a device connected) though, right?
Can you explain a bit more about what you mean?
I see how that's a confusing choice of words on my part.
The more succinct question I should have asked was: "if somebody in DTS were looking at my plug-in code, they should be able to select & open the plug-in via the sequence grabber even though they wouldn't have my unique device connected nor would they necessarily hear modulating audio, right?"
My plugin claims an AudioDeviceID in its Initialize function. At the same time, the plugin also claims two AudioStreamID's (one for the left and one for the right channel) and marks those two stream id's as created via AudioHardwareStreamsCreated. And it's through those id's the "DeviceGetProperty" and "StreamGetProperty" functions are presumably being called.
If you plug-in is currently not exposing any AudioDevices, then the Sequence Grabber won't see anything. If you plug-in is exposing an AudioDevice without any AudioStreams, then I imagine that most apps would ignore your device.
If it's something else, you'll need to get into more detail about what you are doing and what you expect to see happen.
What I was expecting to happen was that the Sequence Grabber successfully selects my Audio Hardware Plugin and starts reading off the streams (at which point, I could fire up a separate pthread to start processing incoming audio data).
Or do I need to be firing some kind of "Process" (i.e. stream processing) thread (or callbacks) to stuff audio bytes into my output mBuffers even before the sequence grabber attempts to select my plug-in?
--
Jeff Moore Core Audio Apple
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.