AudioFileStreamGetProperty

Function AudioFileStreamGetProperty 

Source
pub unsafe extern "C-unwind" fn AudioFileStreamGetProperty(
    in_audio_file_stream: AudioFileStreamID,
    in_property_id: AudioFileStreamPropertyID,
    io_property_data_size: NonNull<u32>,
    out_property_data: NonNull<c_void>,
) -> i32
Available on crate feature AudioFileStream only.
Expand description

Retrieve the indicated property data.

Parameter inAudioFileStream: The file stream ID

Parameter inPropertyID: Property ID whose value should be read

Parameter ioPropertyDataSize: On input, the size of the buffer pointed to by outPropertyData. On output, the number of bytes written.

Parameter outPropertyData: Pointer to the property data buffer

Returns: an OSStatus return code

ยงSafety

  • in_audio_file_stream must be a valid pointer.
  • io_property_data_size must be a valid pointer.
  • out_property_data must be a valid pointer.