User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Hello All,
I have a VDIG that does video capture (this part seems to work)
but no sound. Not surprisingly, SGNewChannel(,SoundMediaType,)
on my component returns -9405 (couldntGetRequiredComponent).
I suspect that some (perhaps most) QuickTime enabled software
expects me to provide sound as well, and this SGNewChannel
error may be the reason why they refuse to use my component
as a video source.
To check this conjecture, I would like the SGNewChannel call
to return successfully. It probably has something to do with
the VDGetSoundInputDriver callback. Normally, I would return
digiUnimpErr from VDGetSoundInputDriver as suggested by the
documentation, but I tried other error codes (including noErr)
and that doesn't seem to make any difference. I guess, the
trick is to return the right sound input driver name.
Returning a random string doesn't help :)
I have a few questions, if I may.
1. Can anyone provide an example of a sound input driver
name? "com.company.FooSoundInput"? "FooSoundInput.kext"?
"com_company_FooSoundInput"? "FooSoundInput.component"?
I have spend quite some time searching Apple's Web
site and the list archives, but could only find similar
questions in this mailing list, without answers :(
2. Is there a standard sound input driver that provides no
sound and yet implements all the necessary API's? And if
such a thing does exist, how to use it in conjunction
with a video capture VDIG?
3. Are there simpler ways to prevent SGNewChannel from
returning an error (or at least to make it return
something other than -9405)?
Thanks!
-Slava
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden