Home |
Function USBAudioSetFrequency |
Function USBAudioSetFrequencyUSBAudioSetFrequency selects a frequency (sampling rate) for an Audio function: int USBAudioSetFrequency(int AudioID, UINT Frequency); ParametersAudioIDAudio ID value previously returned by function USBAudioGetInfo. FrequencyDesired new sampling rate in Hertz. return valueThe newly selected frequency of the specified device in Hertz or a negative error code in case of an error. Please note that USB Audio devices are allowed to round the specified value to the nearest supported value. Thus, even when this function succeeds, the returned value is not guaranteed to be identical with parameter Frequency.
|