music_on_linux:alsa_pcm_device_names
This is an old revision of the document!
ALSA PCM device names
arecord/aplay에서 녹음이나 재생을 할 때 '-D PCM_NAME' 파라미터를 이용하여 사용할 장치를 지정하게 된다. 여기에 쓸 수 있는 이름은 무엇이 있는가? 오디오 기기가 여럿 있으면 어떻게 해야 하는가? 이것이 생각보다 까다롭다. 반면 'parec -d' 명령은 탭 자동완성 기능에 의해 사용 가능한 기기를 보여므로 매우 편리한 면이 있다.
<html><pre> -l, –list-devices
List all soundcards and digital audio devices
-L, –list-pcms
List all PCMs defined
-D, –device=NAME
Select PCM by name
</pre></html>
Using aplay and choose which output on card to use
What do ALSA devices like “hw:0,0” mean? How do I figure out which to use?
https://www.alsa-project.org/main/index.php/Asoundrc#The_naming_of_PCM_devices
music_on_linux/alsa_pcm_device_names.1616725718.txt.gz · Last modified: 2021/03/26 02:28 by hyjeong