Hello list,
I have trouble with automatically choosing audio devices because the
list of available device is not the same each time I launch pd.
I am on ubuntu 12.04 / pd 0.44.3. I want to use portaudio with the
"pulse" device because I'm running another software in parallel,
that can only use pulse for playing sound.
When I launch pd, the list of available device for portaudio is not
the same each time... that makes difficult to choose pulse
automatically.
Is there anything I can do to be sure of choosing the good device?
Here is an output of 3 different launchs:
running after boot:
uchronies@radiographie:~$ pd -pa -listdev -stderr
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
audio input devices:
1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)
2. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)
3. (0)sysdefault
4. (0)pulse
5. (0)default
audio output devices:
1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)
2. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)
3. (0)HDA NVidia: HDMI 0 (hw:1,3)
4. (0)HDA NVidia: HDMI 1 (hw:1,7)
5. (0)HDA NVidia: HDMI 2 (hw:1,8)
6. (0)sysdefault
7. (0)front
8. (0)surround40
9. (0)surround41
10. (0)surround50
11. (0)surround51
12. (0)surround71
13. (0)iec958
14. (0)spdif
15. (0)pulse
16. (0)dmix
17. (0)default
API number 4
no midi input devices found
no midi output devices found
-----------------------------------
running another time:
uchronies@radiographie:~$ pd -pa -listdev -stderr
ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
audio input devices:
1. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)
2. (0)pulse
3. (0)default
audio output devices:
1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)
2. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)
3. (0)HDA NVidia: HDMI 0 (hw:1,3)
4. (0)HDA NVidia: HDMI 1 (hw:1,7)
5. (0)HDA NVidia: HDMI 2 (hw:1,8)
6. (0)sysdefault
7. (0)front
8. (0)surround40
9. (0)surround41
10. (0)surround50
11. (0)surround51
12. (0)surround71
13. (0)iec958
14. (0)spdif
15. (0)pulse
16. (0)dmix
17. (0)default
API number 4
no midi input devices found
no midi output devices found
------------------------------------
running after playing something in firefox
uchronies@radiographie:~$ pd -pa -listdev -stderr
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
audio input devices:
1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)
2. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)
3. (0)sysdefault
4. (0)pulse
5. (0)default
audio output devices:
1. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)
2. (0)HDA NVidia: HDMI 0 (hw:1,3)
3. (0)HDA NVidia: HDMI 1 (hw:1,7)
4. (0)HDA NVidia: HDMI 2 (hw:1,8)
5. (0)iec958
6. (0)spdif
7. (0)pulse
8. (0)default
API number 4
--
Thanks in advance for your help.
Best,
Nicolas
--
http://www.nimon.org