SGSetSoundInputRate
The SGSetSoundInputRate function allows the sequence grabber component to set the rate at which your sound channel obtains its sound data.
pascal ComponentResult SGSetSoundInputRate (SGChannel c,
Fixed rate);
c
- Identifies the channel connection for this operation.
rate
- Specifies the rate at which your sound channel is to acquire data. This parameter specifies the number of samples your sound channel is to generate per second. If your sound channel cannot support the specified rate, use the closest available rate that you can support. If this parameter is set to 0, use your default rate.
RESULT CODES
| cantDoThatInCurrentMode | -9402 | Request invalid in current mode |
| deviceCantMeetRequest | -9408 | Device cannot support grabber |