PropertyAddress
public struct PropertyAddress : RawRepresentable
extension PropertyAddress: Hashable
extension PropertyAddress: CustomStringConvertible
A thin wrapper around a HAL audio object property address
-
Declaration
Swift
public let rawValue: AudioObjectPropertyAddress -
Creates a new instance with the specified value
Declaration
Swift
public init(_ value: AudioObjectPropertyAddress)Parameters
valueThe value to use for the new instance
-
Declaration
Swift
public init(rawValue: AudioObjectPropertyAddress) -
The property’s selector
Declaration
Swift
public var selector: PropertySelector { get } -
The property’s scope
Declaration
Swift
public var scope: PropertyScope { get } -
The property’s element
Declaration
Swift
public var element: PropertyElement { get } -
Initializes a new
PropertyAddresswith the specified raw selector, scope, and element valuesDeclaration
Swift
public init(_ selector: AudioObjectPropertySelector, scope: AudioObjectPropertyScope = kAudioObjectPropertyScopeGlobal, element: AudioObjectPropertyElement = kAudioObjectPropertyElementMaster)Parameters
selectorThe desired raw selector value
scopeThe desired raw scope value
elementThe desired raw element value
-
Initializes a new
PropertyAddresswith the specified selector, scope, and elementDeclaration
Swift
public init(_ selector: PropertySelector, scope: PropertyScope = .global, element: PropertyElement = .master)Parameters
selectorThe desired selector
scopeThe desired scope
elementThe desired element
-
Declaration
Swift
public static func == (lhs: PropertyAddress, rhs: PropertyAddress) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public var description: String { get }
View on GitHub
PropertyAddress Structure Reference