Contents

GetAvailableStreamFormats

Gets the available basic descriptions for the stream.

Declaration

size_t GetAvailableStreamFormats(IOUserVideoStreamBasicDescription *out_formats, size_t in_num_formats);

Parameters

  • out_formats:

    Pointer to a buffer of format objects.

  • in_num_formats:

    The number of formats in out_formats buffer.

Return Value

The number of formats were set in the out_formats buffer.

Discussion

The object’s work queue synchronizes access to the value.

See Also

Working with stream formats