---
title: GetWorkQueue
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiodriver/getworkqueue
---

# GetWorkQueue

Gets the work queue created by the audio object, as a pointer to a dispatch queue.

## Declaration

```occ
OSSharedPtr<IODispatchQueue> GetWorkQueue();
```

## Return Value

Return Value The work queue created by the audio object.

## Discussion

Discussion The work queue synchronizes access to the driver’s state. Setters and getters for the driver do their work on the work queue.

## See Also

### Getting Information About the Class

- [GetClassID](audiodriverkit/iouseraudiodriver/getclassid.md)
- [GetBaseClassID](audiodriverkit/iouseraudiodriver/getbaseclassid.md)
- [IOUserAudioClassID](audiodriverkit/audiodriverkit/iouseraudioclassid.md)
- [GetName](audiodriverkit/iouseraudiodriver/getname.md)
- [SetName](audiodriverkit/iouseraudiodriver/setname.md)
