Skip to main content

Crate shiguredo_opus

Crate shiguredo_opus 

Source
Expand description

Opus エンコーダーとデコーダーの Rust バインディング

xiph/opus の Rust バインディング。 PCM 音声データのエンコード / デコードを行う。

Structs§

Decoder
デコーダー
DecoderConfig
デコーダーの設定
Dred
DRED 状態
DredDecoder
DRED デコーダー
Encoder
エンコーダー
EncoderConfig
エンコーダーの設定
Error
Opus API のエラー

Enums§

Application
Opus アプリケーションモード
Bandwidth
帯域幅
ForceChannels
チャンネル強制設定
FrameDuration
フレーム時間
InbandFec
帯域内前方誤り訂正 (FEC) モード
Signal
シグナルタイプ

Constants§

BUILD_REPOSITORY
ビルド時に参照したリポジトリ URL
BUILD_VERSION
ビルド時に参照したリポジトリのバージョン(タグ)

Functions§

packet_get_bandwidth
パケットの帯域幅を取得する
packet_get_nb_channels
パケットのチャンネル数を取得する
packet_get_nb_frames
パケットに含まれるフレーム数を取得する
packet_get_nb_samples
パケット全体のサンプル数を取得する
packet_get_samples_per_frame
1 フレームあたりのサンプル数を取得する
version_string
リンクされた Opus ライブラリのバージョン文字列を取得する