LoginSignup
0
0

More than 5 years have passed since last update.

ALSAデバイスでdmix(resampling)が有効かどうかを調べる方法

Posted at

下記コマンドによってSE200PCIのデバイス0,サブデバイス0の出力状況を把握することができる.

コマンド例)
$cat /proc/asound/SE200PCI/pcm0p/sub0/hw_params
※ 音声再生中に実行する

出力例)
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 528
buffer_size: 2204

rateの値がアプリケーションの音声出力周波数と一致していればresamplingが無効だと考えます.
また,アプリケーションの起動によってrateの値は変化します.
(例:chrome → 48000,audacious → 44100)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0