<DIV><BR><BR><B><I>rix &lt;zajelo3@cfl.rr.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Jason Paque wrote:<BR><BR>&gt; use your lspci program to retrieve the hardware list for the right <BR>&gt; setting for the soundcard.<BR>&gt; you have to look under /usr/bin to find the lspci prog for every <BR>&gt; distro it is aparently different.<BR>&gt;<BR>&gt; */rix <ZAJELO3@CFL.RR.COM>/* wrote:<BR>&gt;<BR>&gt; rix wrote:<BR>&gt;<BR>&gt; &gt; Hi all,<BR>&gt; &gt; All right, I got my openal set up mostly right except I get some<BR>&gt; &gt; static when the game starts. I have a feeling it's the<BR>&gt; &gt;<BR>&gt; &gt; (define alsa-out-device "hw:0,0") comment in .openalrc. How do you<BR>&gt; &gt; know what the "out-device" is on any particular machine? Is the<BR>&gt; &gt; "hw:0,0" representative of the pci bus location of the sound<BR>&gt; card? I<BR>&gt; &gt; have tried "default" instead of "hw:0,0" that doesn't work at all.<BR>&gt; &gt; Also, I got like a 3 fps performance
 boost out of this tweak.<BR>&gt; Thanks<BR>&gt; &gt; guys for helping out.<BR>&gt; &gt;<BR>&gt; &gt; Rick B.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; Nevermind, I found some documetation and from what I learned "hw:0,0"<BR>&gt; should be the right output. I'll fiddle with it 'till I get it right.<BR>&gt; Maybe it's "plughw:0,0".<BR>&gt;<BR>&gt; Rick B<BR>&gt;<BR>I originally thought that the pci location of the sound card was what I <BR>should use (lspci -v tells me 00:06.0 is my sound card) but that's not <BR>right. I learned that if you do a "cat /proc/asound/devices":<BR><BR>0: [0- 0]: ctl<BR>25: [0- 1]: digital audio capture<BR>16: [0- 0]: digital audio playback<BR>24: [0- 0]: digital audio capture<BR>33: : timer<BR><BR>If you look at the third line down you will see "16: [0- 0]: digital <BR>audio playback" the [0- 0] is what ALSA wants to know, apparently so it <BR>knows how to send the output. If you have a card with more than one <BR>output, like an extra SPDIF out, you will have
 more than one "digital <BR>audio playback" device listed, so you will have to find out which one <BR>can be used.<BR><BR>Rick B <BR>from what I see on your list there are going to be conflicts when you init audio playback as it will be recaptured unless I am reading it wrong you have 3 functions tied to the same device parameters</BLOCKQUOTE></DIV>