SoundIoDevice.sample_rates

Sample rate is the number of frames per second. Sample rate is handled very similar to SoundIoDevice::formats. If sample rate information is missing due to a probe error, the field will be set to NULL. Devices which have SoundIoDevice::probe_error set to #SoundIoErrorNone are guaranteed to have at least 1 sample rate available.

struct SoundIoDevice
SoundIoSampleRateRange* sample_rates;

Meta