AudioServicesGetPropertyInfo(_:_:_:_:_:)
Gets information about a System Sound Services property.
Declaration
func AudioServicesGetPropertyInfo(_ inPropertyID: AudioServicesPropertyID, _ inSpecifierSize: UInt32, _ inSpecifier: UnsafeRawPointer?, _ outPropertyDataSize: UnsafeMutablePointer<UInt32>?, _ outWritable: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatusParameters
- inPropertyID:
The property you want information about.
- inSpecifierSize:
The size of the buffer pointed to by the
inSpecifierparameter. Pass0if no specifier buffer is required. - inSpecifier:
A pointer to a specifier buffer, if such a buffer is required by the property about which you want information. Pass
NULLif no specifier is required. - outPropertyDataSize:
On output, the size, in bytes, of the property value. To get the property value, you need a buffer of at least this size.
- outWritable:
On output,
trueif the property is writable, orfalseif the property is read only.
Return Value
A result code.
Discussion
System Sound Services properties are listed and described in System Sound Services Property Identifiers.