Hi David, thaks for your answer.
I´m using
err = SGGetChannelDeviceList(videoChannel1, sgDeviceListIncludeInputs,
&list1);
on every videoChannel for descovering which imputs are available but I
don´t understand how to change imput channel to a enable imput i have
in the list struct. Has anyone an example in carbon?
Thanks.
David Phillip Oster ha escrito:
> > I´m using some cammeras (at this moment isigth and usb cammera) which
> > I preview their captures. I would like to be able to change the imput
[quoted text clipped - 12 lines]
> If you've got multiple cameras, you can ask Quicktime to enumerate the
> video digitizer components that are available.
David Phillip Oster - 26 Nov 2006 00:18 GMT
> David Phillip Oster ha escrito:
>
[quoted text clipped - 14 lines]
> > If you've got multiple cameras, you can ask Quicktime to enumerate the
> > video digitizer components that are available.
> Hi David, thaks for your answer.
>
[quoted text clipped - 6 lines]
>
> Thanks.
Did you look at Apple's sample source:
http://developer.apple.com/samplecode/HackTV_Carbon
I've mostly been working from:
http://developer.apple.com/samplecode/WhackedTV
which does supports arbitrary numbers of source SGChannels. It is in
Objective-C, but as long you know that the objective-C expression:
[obj func:arg] is equivalent to the C++ obj->func(arg) or the C
func(obj, arg) you'll be able to read the code, and the Objective-C is
mostly wrapper for the C api.