<DIV><BR><BR><B><I>rix <zajelo3@cfl.rr.com></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Jason Paque wrote:<BR><BR>> use your lspci program to retrieve the hardware list for the right <BR>> setting for the soundcard.<BR>> you have to look under /usr/bin to find the lspci prog for every <BR>> distro it is aparently different.<BR>><BR>> */rix <ZAJELO3@CFL.RR.COM>/* wrote:<BR>><BR>> rix wrote:<BR>><BR>> > Hi all,<BR>> > All right, I got my openal set up mostly right except I get some<BR>> > static when the game starts. I have a feeling it's the<BR>> ><BR>> > (define alsa-out-device "hw:0,0") comment in .openalrc. How do you<BR>> > know what the "out-device" is on any particular machine? Is the<BR>> > "hw:0,0" representative of the pci bus location of the sound<BR>> card? I<BR>> > have tried "default" instead of "hw:0,0" that doesn't work at all.<BR>> > Also, I got like a 3 fps performance
boost out of this tweak.<BR>> Thanks<BR>> > guys for helping out.<BR>> ><BR>> > Rick B.<BR>> ><BR>> ><BR>> Nevermind, I found some documetation and from what I learned "hw:0,0"<BR>> should be the right output. I'll fiddle with it 'till I get it right.<BR>> Maybe it's "plughw:0,0".<BR>><BR>> Rick B<BR>><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>