---
title: GetNumberAvailableSampleRates
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudioclockdevice/getnumberavailablesamplerates
---

# GetNumberAvailableSampleRates

Gets the number of available sample rates of the clock device.

## Declaration

```occ
size_t GetNumberAvailableSampleRates();
```

## Return Value

Return Value The number of available sample rates of the clock device.

## Discussion

Discussion This method synchronizes by using the work queue created by the object.

## See Also

### Working with Sample Rates

- [SetSampleRate](audiodriverkit/iouseraudioclockdevice/setsamplerate.md)
- [GetSampleRate](audiodriverkit/iouseraudioclockdevice/getsamplerate.md)
- [SetAvailableSampleRates](audiodriverkit/iouseraudioclockdevice/setavailablesamplerates.md)
- [GetAvailableSampleRates](audiodriverkit/iouseraudioclockdevice/getavailablesamplerates.md)
