---
title: SetClockIsStable
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudioclockdevice/setclockisstable
---

# SetClockIsStable

Sets a Boolean value to represent the clock’s stability.

## Declaration

```occ
kern_return_t SetClockIsStable(bool in_clock_is_stable);
```

## Parameters

- `in_clock_is_stable`: true if the clock is stable; otherwise, false.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

## Discussion

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

## See Also

### Working with Clock Device Behavior

- [SetClockAlgorithm](audiodriverkit/iouseraudioclockdevice/setclockalgorithm.md)
- [GetClockAlgorithm](audiodriverkit/iouseraudioclockdevice/getclockalgorithm.md)
- [IOUserAudioClockAlgorithm](audiodriverkit/audiodriverkit/iouseraudioclockalgorithm.md)
- [GetClockIsStable](audiodriverkit/iouseraudioclockdevice/getclockisstable.md)
