<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioDriverPlugInStreamGetProperty",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "c:@F@AudioDriverPlugInStreamGetProperty"
  },
  "title" : "AudioDriverPlugInStreamGetProperty"
}
-->

# AudioDriverPlugInStreamGetProperty

```
extern OSStatus AudioDriverPlugInStreamGetProperty(AudioDeviceID inDevice, io_object_t inIOAudioStream, UInt32 inChannel, AudioDevicePropertyID inPropertyID, UInt32 *ioPropertyDataSize, void *outPropertyData);
```

## Parameters

`inDevice`

The AudioDevice whose stream is being queried.

`inIOAudioStream`

The IOAudioStream to query.

`inChannel`

The channel of the property to query where 0 is the main channel.

`inPropertyID`

The AudioDevicePropertyID of the property to query.

`ioPropertyDataSize`

A UInt32 which on entry indicates the size of the buffer pointed to by
outData and on exit indicates how much of the buffer was used.

`outPropertyData`

The buffer into which the object will put the data for the given property.

## Return Value

An OSStatus indicating success or failure. Note that if the plug-in does not
implement the given property, it should return
kAudioHardwareUnknownPropertyError to ensure that the HAL handles the property
normally.

## Discussion

\abstract Queries an the AudioStream object to get the data of the given property and
places it in the provided buffer.

---

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)