AudioHardwareIOProcStreamUsageWrapper
public struct AudioHardwareIOProcStreamUsageWrapper
extension AudioHardwareIOProcStreamUsageWrapper: CustomDebugStringConvertible
A thin wrapper around a variable-length AudioHardwareIOProcStreamUsage
structure
-
Returns the stream usage’s
mIOProc
Declaration
Swift
public var ioProc: UnsafeRawPointer { get }
-
Returns the stream usage’s
mNumberStreams
Declaration
Swift
public var numberStreams: UInt32 { get }
-
Returns the stream usage’s
mStreamIsOn
Declaration
Swift
public var streamIsOn: UnsafeBufferPointer<UInt32> { get }
-
Performs
block
with a pointer to the underlyingAudioHardwareIOProcStreamUsage
structureDeclaration
Swift
public func withUnsafePointer<T>(_ block: (UnsafePointer<AudioHardwareIOProcStreamUsage>) throws -> T) rethrows -> T
-
Declaration
Swift
public var debugDescription: String { get }