Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X

View Source Code:

Download Sample (“SGDevices.zip”, 51.1K)
Download Sample (“SGDevices.dmg”, 92.6K)



Description

This sample demonstrates how to use the SGGetChannelDeviceList function with QuickTime 6 to build and parse the list of devices returned by this call. The data structures for this device list have changed in QuickTime 6 - they now return a list of device inputs for each device. This sample code shows how to parse these new data structures. The resulting device list along with the corresponding inputs are conveniently displayed using a Cocoa NSOutlineView. Requirements: Mac OS X Keywords: SGGetChannelDeviceList SGDeviceInputName SGDeviceInputListRecord SGDeviceName SGDeviceListRecord

Document Revision History

Date Notes
2003-01-14Demonstrates how to use the SGGetChannelDeviceList function to build and parse the list of devices.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.