<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioSelectorControl/GetCurrentSelectedValues",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioSelectorControl@F@GetCurrentSelectedValues#*i#l#"
  },
  "title" : "GetCurrentSelectedValues"
}
-->

# GetCurrentSelectedValues

Gets the current selections of the selector.

```
size_t GetCurrentSelectedValues(IOUserAudioSelectorValue *out_values, size_t in_num_values);
```

## Parameters

`out_values`

A pointer to a buffer of type [`IOUserAudioSelectorValue`](/documentation/AudioDriverKit/IOUserAudioSelectorValue), with a size of `in_num_values`. On return, this buffer contains the selected values.

`in_num_values`

The size of the `out_values` array.

## Return Value

The number of values populated in the `out_values` buffer.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)