User Tools

Site Tools


music_on_linux:alsa_pcm_device_names

This is an old revision of the document!


ALAS PCM device names

aplay에서 소리 재생을 할 때 '-d PCM_NAME' 파라미터를 이용하여 사용할 장치를 지정하게 된다. 여기에 쓸 수 있는 이름은 무엇이 있는가? 오디오 기기가 여럿 있으면 어떻게 해야 하는가? 이것이 생각보다 까다롭다.

  1. l, –list-devices

List all soundcards and digital audio devices

  1. L, –list-pcms

List all PCMs defined

  1. D, –device=NAME

Select PCM by name

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://unix.stackexchange.com/questions/96025/alsa-jack-card-and-device-names-different-naming-conventions

https://www.alsa-project.org/main/index.php/Asoundrc#The_naming_of_PCM_devices

music_on_linux/alsa_pcm_device_names.1616725330.txt.gz · Last modified: 2021/03/26 02:22 by hyjeong