Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の iOS アプリは、ビデオ ファイルを再生し、左右のステレオ チャンネルの音量を調整する必要があります。
これはどのように達成できますか?
ビデオからオーディオを分離できる場合は、AudioUnit または AudioQueues を使用してオーディオを再生し、左/右チャネルのサンプルの振幅を変更できます。
ただし、これにはいくつかの落とし穴があります。オーディオとビデオの同期、ユーザーがコントロールなどを使用してビデオ内で前後にジャンプできるようにする場合のオーディオの処理 (再) 同期です。