AudioCaptureSessionDelegate

public protocol AudioCaptureSessionDelegate : NSObjectProtocol

AudioCaptureSession が使用する Delegate を表すプロトコル。

  • キャプチャーに成功した際に呼び出されるコールバック。

    Declaration

    Swift

    func captureOutput(_ session: AudioCaptureSession, didOutput sampleBuffer: CMSampleBuffer, timestamp: MediaTimestamp)

    Parameters

    session

    AudioCaptureSession

    sampleBuffer

    キャプチャーされたサンプルバッファー

    timestamp

    タイムスタンプ