SGGetFrameRate
TheSGGetFrameRatefunction allows you to retrieve a video channel's frame rate for recording.
pascal ComponentResult SGGetFrameRate (SGChannel c, Fixed *frameRate);
c- Identifies the channel for this operation. You provide your
connection identifier. You connect to a channel component by calling theSGNewChannelorSGNewChannelFromComponentfunction, discussed on page 5-29 and page 5-30, respectively.frameRate- Contains a pointer to a field to receive the current frame rate. The sequence grabber returns the channel's current frame rate.
DESCRIPTION
TheSGGetFrameRatefunction returns the channel's current rate. By default, the channel records at the fastest rate it can support. In this case, the channel sets the field referred to by theframeRateparameter to 0.SEE ALSO
You can set a channel's frame rate by calling theSGSetFrameRatefunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help