
alsa의 장치를 사용하도록 설계된 오디오 처리 SW가 있습니다 hw:0
. 내 xubuntu 컴퓨터에서 다음 명령줄과 동일한 오류가 발생합니다.
$ aplay -D hw:0 440.wav
aplay: main:830: audio open error: Device or resource busy
이는 pulseaudio가 주변 장치를 소유하고 있기 때문입니다.
$ fuser -fv /dev/snd/* /dev/dsp*
USER PID ACCESS COMMAND
/dev/snd/controlC0: max 7108 F.... pulseaudio
/dev/snd/controlC1: max 7108 F.... pulseaudio
/dev/snd/pcmC0D0p: max 7108 F...m pulseaudio
/dev/snd/timer: max 7108 f.... pulseaudio
내 카드 목록은 다음과 같습니다.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
펄스오디오와 내 소프트웨어를 어떻게 함께 사용할 수 있는지 궁금합니다.