Working With Sound Channels
Sequence grabber components provide a number of functions that allow you to configure the grabber's sound channels. This section describes these configuration functions, which you can use only with sound channels. You can determine whether a channel has a sound representation by calling theSGGetChannelInfofunction, described on page 5-58. If you want to configure a video channel, use the
functions described in "Working With Video Channels" beginning on page 5-73. If you want to configure general attributes of a channel, use the functions described in "Working With Channel Characteristics" beginning on page 5-55.Use the
SGSetSoundInputDriverfunction to specify a channel's sound
input device. You can determine a channel's sound input device by calling theSGGetSoundInputDriverfunction. If you change any attributes of the sound input device, you should notify the sequence grabber component by calling theSGSoundInputDriverChangedfunction. By default, the sequence grabber component uses the sound driver's best settings.You can control the amount of sound data the sequence grabber works with at one
time by calling theSGSetSoundRecordChunkSizefunction. You can determine
this value by calling theSGGetSoundRecordChunkSizefunction.You can control the rate at which the sound channel samples the input data by calling the
SGSetSoundInputRatefunction. You can determine the sample rate by calling theSGGetSoundInputRatefunction.You can control other sound input parameters by using the
SGSetSoundInputParametersandSGGetSoundInputParametersfunctions.
Subtopics
- SGSetSoundInputDriver
- SGGetSoundInputDriver
- SGSoundInputDriverChanged
- SGSetSoundRecordChunkSize
- SGGetSoundRecordChunkSize
- SGSetSoundInputRate
- SGGetSoundInputRate
- SGSetSoundInputParameters
- SGGetSoundInputParameters