AudioFileStreamGetPropertyInfo

Function AudioFileStreamGetPropertyInfo 

Source
pub unsafe extern "C-unwind" fn AudioFileStreamGetPropertyInfo(
    in_audio_file_stream: AudioFileStreamID,
    in_property_id: AudioFileStreamPropertyID,
    out_property_data_size: *mut u32,
    out_writable: *mut u8,
) -> i32
Available on crate feature AudioFileStream only.
Expand description

Retrieve the info about the given property. The outSize argument will return the size in bytes of the current value of the property.

Parameter inAudioFileStream: The file stream ID

Parameter inPropertyID: Property ID whose value should be read

Parameter outPropertyDataSize: Size in bytes of the property

Parameter outWritable: whether the property is writable

Returns: an OSStatus return code

ยงSafety

  • in_audio_file_stream must be a valid pointer.
  • out_property_data_size must be a valid pointer or null.
  • out_writable must be a valid pointer or null.