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

# AudioStreamGetProperty

```
extern OSStatus AudioStreamGetProperty(AudioStreamID inStream, UInt32 inChannel, AudioDevicePropertyID inPropertyID, UInt32 *ioPropertyDataSize, void *outPropertyData);
```

## Parameters

`inStream`

The AudioStream 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.

## Discussion

\abstract Queries an the AudioStream object to get the data of the given property and
places it in the provided buffer.
\discussion Note that the same functionality is provided by the function
AudioObjectGetPropertyData().

---

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)