お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosedeviceName | デバイス名 |
録音のサンプル位置を取得します
デバイス名に null または空の文字列を渡すと、デフォルトのマイクが使用されます。利用可能なマイクデバイスの一覧を devices プロパティにより取得できます。 レイテンシを制御するのに使用できます。もし 30ms のレイテンシが必要な場合、getRecordPosition() により 30ms 経過するまで(サンプリングで)ポーリングしてからオーディオを開始します。