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.
私は完全に迷っています.c ++でALSAを使用してサウンドを録音する方法の非常に簡単な例はありますか? 必要なのは、プログラムの別の部分に供給するための符号付きバイトとしての生のサンプルだけです。グーグルで見つけたすべての例は、PulseAudio に問題があるか、必要なものをカバーしていないようです。
この記事のリスト 4 は、ALSA ライブラリー API を使用して音声をキャプチャーする方法を示しています。