AudioDeviceUnit

@available(tvOS 17.0, *)
public final class AudioDeviceUnit : DeviceUnit

An object that provides the interface to control the AVCaptureDevice’s transport behavior.

  • The output type that this capture audio data output..

    Declaration

    Swift

    public typealias Output = AVCaptureAudioDataOutput
  • The track number.

    Declaration

    Swift

    public let track: UInt8
  • The input data to a cupture session.

    Declaration

    Swift

    public private(set) var input: AVCaptureInput? { get }
  • The current audio device object.

    Declaration

    Swift

    public private(set) var device: AVCaptureDevice? { get }
  • The output data to a sample buffers.

    Declaration

    Swift

    public private(set) var output: Output? { get set }
  • The connection from a capture input to a capture output.

    Declaration

    Swift

    public private(set) var connection: AVCaptureConnection? { get }