AudioStreamGetPropertyInfo

Function AudioStreamGetPropertyInfo 

Source
pub unsafe extern "C-unwind" fn AudioStreamGetPropertyInfo(
    in_stream: AudioStreamID,
    in_channel: u32,
    in_property_id: AudioDevicePropertyID,
    out_size: *mut u32,
    out_writable: *mut u8,
) -> i32
๐Ÿ‘ŽDeprecated
Available on crate features AudioHardware and AudioHardwareDeprecated only.
Expand description

Retrieve information about the given property of an AudioStream.

Parameter inStream: The AudioStream to query.

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

Parameter inPropertyID: The AudioDevicePropertyID of the property to query.

Parameter outSize: A pointer to a UInt32 that receives the size of the property data in bytes on exit. This can be NULL if the size information is not being requested.

Parameter outWritable: A pointer to a Boolean that receives indication of whether or not the given property can be set. This can be NULL if the writability is not being requested.

Returns: An OSStatus indicating success or failure.

ยงSafety

  • out_size must be a valid pointer or null.
  • out_writable must be a valid pointer or null.