<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello list,<br>
    <br>
    I have trouble with automatically choosing audio devices because the
    list of available device is not the same each time I launch pd.<br>
    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.<br>
    When I launch pd, the list of available device for portaudio is not
    the same each time... that makes difficult to choose pulse
    automatically.<br>
    Is there anything I can do to be sure of choosing the good device?<br>
    Here is an output of 3 different launchs:<br>
    <br>
    running after boot:<br>
    <br>
    uchronies@radiographie:~$ pd -pa -listdev -stderr<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.rear<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.center_lfe<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.side<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
    only playback stream<br>
    Cannot connect to server socket err = No such file or directory<br>
    Cannot connect to server socket<br>
    jack server is not running or cannot be started<br>
    audio input devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)</b><b><br>
    </b><b>2. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)</b><b><br>
    </b><b>3. (0)sysdefault</b><b><br>
    </b><b>4. (0)pulse</b><b><br>
    </b><b>5. (0)default</b><br>
    audio output devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)</b><b><br>
    </b><b>2. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)</b><b><br>
    </b><b>3. (0)HDA NVidia: HDMI 0 (hw:1,3)</b><b><br>
    </b><b>4. (0)HDA NVidia: HDMI 1 (hw:1,7)</b><b><br>
    </b><b>5. (0)HDA NVidia: HDMI 2 (hw:1,8)</b><b><br>
    </b><b>6. (0)sysdefault</b><b><br>
    </b><b>7. (0)front</b><b><br>
    </b><b>8. (0)surround40</b><b><br>
    </b><b>9. (0)surround41</b><b><br>
    </b><b>10. (0)surround50</b><b><br>
    </b><b>11. (0)surround51</b><b><br>
    </b><b>12. (0)surround71</b><b><br>
    </b><b>13. (0)iec958</b><b><br>
    </b><b>14. (0)spdif</b><b><br>
    </b><b>15. (0)pulse</b><b><br>
    </b><b>16. (0)dmix</b><b><br>
    </b><b>17. (0)default</b><br>
    API number 4<br>
    <br>
    no midi input devices found<br>
    no midi output devices found<br>
    -----------------------------------<br>
    <br>
    running another time:<br>
    <br>
    uchronies@radiographie:~$ pd -pa -listdev -stderr<br>
    ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.rear<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.center_lfe<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.side<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
    only playback stream<br>
    Cannot connect to server socket err = No such file or directory<br>
    Cannot connect to server socket<br>
    jack server is not running or cannot be started<br>
    audio input devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)</b><b><br>
    </b><b>2. (0)pulse</b><b><br>
    </b><b>3. (0)default</b><br>
    audio output devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)</b><b><br>
    </b><b>2. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)</b><b><br>
    </b><b>3. (0)HDA NVidia: HDMI 0 (hw:1,3)</b><b><br>
    </b><b>4. (0)HDA NVidia: HDMI 1 (hw:1,7)</b><b><br>
    </b><b>5. (0)HDA NVidia: HDMI 2 (hw:1,8)</b><b><br>
    </b><b>6. (0)sysdefault</b><b><br>
    </b><b>7. (0)front</b><b><br>
    </b><b>8. (0)surround40</b><b><br>
    </b><b>9. (0)surround41</b><b><br>
    </b><b>10. (0)surround50</b><b><br>
    </b><b>11. (0)surround51</b><b><br>
    </b><b>12. (0)surround71</b><b><br>
    </b><b>13. (0)iec958</b><b><br>
    </b><b>14. (0)spdif</b><b><br>
    </b><b>15. (0)pulse</b><b><br>
    </b><b>16. (0)dmix</b><b><br>
    </b><b>17. (0)default</b><br>
    API number 4<br>
    <br>
    no midi input devices found<br>
    no midi output devices found<br>
    ------------------------------------<br>
    running after playing something in firefox<br>
    <br>
    uchronies@radiographie:~$ pd -pa -listdev -stderr<br>
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.rear<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.center_lfe<br>
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
    cards.pcm.side<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
    BT_GET_CAPABILITIES failed : Input/output error(5)<br>
    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
    only playback stream<br>
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave<br>
    Cannot connect to server socket err = No such file or directory<br>
    Cannot connect to server socket<br>
    jack server is not running or cannot be started<br>
    audio input devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Analog (hw:0,0)</b><b><br>
    </b><b>2. (0)HDA Intel PCH: ALC892 Analog (hw:0,2)</b><b><br>
    </b><b>3. (0)sysdefault</b><b><br>
    </b><b>4. (0)pulse</b><b><br>
    </b><b>5. (0)default</b><br>
    audio output devices:<br>
    <b>1. (0)HDA Intel PCH: ALC892 Digital (hw:0,1)</b><b><br>
    </b><b>2. (0)HDA NVidia: HDMI 0 (hw:1,3)</b><b><br>
    </b><b>3. (0)HDA NVidia: HDMI 1 (hw:1,7)</b><b><br>
    </b><b>4. (0)HDA NVidia: HDMI 2 (hw:1,8)</b><b><br>
    </b><b>5. (0)iec958</b><b><br>
    </b><b>6. (0)spdif</b><b><br>
    </b><b>7. (0)pulse</b><b><br>
    </b><b>8. (0)default</b><br>
    API number 4<br>
    <br>
    --<br>
    <br>
    Thanks in advance for your help.<br>
    Best,<br>
    <br>
    Nicolas<br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.nimon.org">http://www.nimon.org</a></pre>
  </body>
</html>