Contents

MIDIEntityGetNumberOfSources(_:)

Returns the number of sources in an entity.

Declaration

func MIDIEntityGetNumberOfSources(_ entity: MIDIEntityRef) -> Int

Parameters

  • entity:

    The entity to query.

Return Value

The number of sources the entity contains, or 0 if an error occurred.

See Also

Entity lookup