OpusDecoderSampleParseDelegate

public protocol OpusDecoderSampleParseDelegate : NSObjectProtocol

IntdashAudioDecoder.OpusDecoder がデータを解析した際に使用する Delegate を表すプロトコル。

  • ヘッダー情報が解析された際に呼び出されるコールバック。

    Declaration

    Swift

    func parsedOpusHeader(_ decoder: IntdashAudioDecoder.OpusDecoder, sampleRate: Double, channels: Int, frameSize: Int)

    Parameters

    decoder

    Opus用デコーダー

    sampleRate

    サンプリングレート

    channels

    チャンネル数