<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=UTF-8>
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#000000 size=2>hi, sorry for my english 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>i have 4 sound card</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>in the alsamixer&nbsp; i can choice the 4 card to 
change parameters </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>but when in the padevchooser i an click in te 
default sink only apears 2 card</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>i use ubuntu hardy, with the default default.pa 
with hall_detect and detect module active</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>how can list exact name of alsa devices to add 
module_alsa&nbsp; whit the correspond name of my 4 devices 
manually?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sorry bye </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rich.geddes@verizon.net href="mailto:rich.geddes@verizon.net">Richard 
  Geddes</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=pulseaudio-discuss@mail.0pointer.de 
  href="mailto:pulseaudio-discuss@mail.0pointer.de">General PulseAudio 
  Discussion</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 02, 2008 3:34 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [pulseaudio-discuss] Help in 
  setting up PA... SOLVED</DIV>
  <DIV><BR></DIV>Hi,<BR><BR>I'm back again.&nbsp; I upgraded to Ubuntu 8.04 
  which uses PA as the default sound server and new hardware(AMD Athlon 
  X2)&nbsp; The PA server is version 0.9.10.&nbsp; My /etc/default.pa looks like 
  this:<BR><BR>.nofail<BR>load-sample-lazy pulse-hotplug 
  /usr/share/sounds/startup3.wav<BR>.fail<BR>load-module module-alsa-sink 
  sink_name=intel_hda_out device=hw:0<BR>load-module module-alsa-source 
  source_name=intel_hda_in device=hw:0<BR>load-module module-alsa-sink 
  sink_name=delta_out device=hw:1 channels=10 
  channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7<BR>load-module 
  module-alsa-source source_name=delta_in device=hw:1 channels=12 
  channel_map=left,right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9<BR>set-default-sink 
  delta_out <BR>set-default-source delta_in<BR>.ifexists 
  module-esound-protocol-unix.so<BR>load-module 
  module-esound-protocol-unix<BR>.endif<BR>load-module 
  module-native-protocol-unix<BR>load-module 
  module-volume-restore<BR>load-module 
  module-default-device-restore<BR>load-module 
  module-rescue-streams<BR>load-module module-suspend-on-idle<BR>.ifexists 
  module-gconf.so<BR>.nofail<BR>load-module 
  module-gconf<BR>.fail<BR>.endif<BR>.ifexists 
  module-x11-publish.so<BR>.nofail<BR>load-module 
  module-x11-publish<BR>.fail<BR>.endif<BR><BR>To get feedback from the PA 
  server I used paman (pulseaudio sound manager in ubuntu) and it said that the 
  intel_hda_out device is the default sink.&nbsp; I tried to force the default 
  sink to be delta_out with pacmd, but that stopped the PA server... I didn't 
  realize that when I exit paman, it shuts the pa server down.&nbsp; I was a 
  little confused by that... expecting the server to stay alive.<BR><BR>I 
  noticed that I could "play-sample" to the delta_out and it sounded fine.&nbsp; 
  It looked like I can get my Delta 66 card and PA to work but only in that 
  "play-sample" mode.&nbsp; <BR><BR>I did not realize that I had the 
  volume-restore enabled, and it had quite a few settings from the past that 
  were all related to intel_hda_out... also my ~/.pulse/default-sink file was 
  also set to intel_hda_out... anyway even though the global config 
  file(/etc/pulse/default.pa) set the default sink to delta_out, there are local 
  config files in ~/.pulse/ that can also modify the defaults.&nbsp; It's 
  probably in the literature somewhere, and it makes sense for clients that are 
  sharing a server.<BR><BR>Anyway, I after changing *all* (local and global) the 
  config files, the system works... and pretty well.&nbsp; Hope this helps 
  someone with their M-Audio Delta setup.<BR><BR>R<BR><BR>Tanu Kaskinen wrote: 
  <BLOCKQUOTE cite=mid:20080201225749.GA19648@a9a.mannikko1.tontut.fi 
  type="cite"><PRE wrap="">On Fri, Feb 01, 2008 at 03:02:40PM -0500, Richard Geddes wrote:
  </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">You are correct... latest release Ubuntu 7.10 comes with PA 0.9.6.  
I'll look into getting the latest version of PA.

My goal was to use PA as a replacement for esound server...  I'd like to
be able to record/mix different sound sources (midi, analog, sound from
files (mp3, wav, ogg, etc)) and be able to create different file
formats, including sound delivered in flash (I'm not a fan of flash as
it consumes alot of cpu time, but it is in demand).  I played with jackd
for a while and was impressed with it's technical capabilities, but
unfortunately, I haven't found a way to play flash sound through
jackd... that is, flash in firefox.  I found a how-to in the Ubuntu
forum that seemed to patch together a solution the involved PA:

<A class=moz-txt-link-freetext href="http://ubuntu-utah.ubuntuforums.org/showthread.php?t=548178">http://ubuntu-utah.ubuntuforums.org/showthread.php?t=548178</A>
    </PRE></BLOCKQUOTE><PRE wrap=""><!---->
If you want to record midi and do other "pro-audio" stuff,
then jack is the way to go. If you also want to do "desktop"
stuff (like have every media player just work), then the
best solution in my experience is to run pulseaudio on top
of jack (like instructed in that link).

A summary of what you'll have to do at minimum:
- Get pulseaudio version &gt;= 0.9.7
- Remove device loading from /etc/pulse/default.pa and add
  the jack modules instead
- Edit /etc/security/limits.conf as instructed in the link
- Edit /etc/pulse/daemon.conf to enable realtime scheduling
- Run jackd with -R parameter (i.e. in realtime mode)
- Other stuff that I have forgot ;)

If you are going to record midi, that probably means that
you have some midi instrument that you want to be able to
play live. That requires quite low latency. That's
completely possible to achieve. Unfortunately it may require
extensive tuning (mostly kernel, but you may need to tweak
irq priorities as well). Vanilla kernels are AFAIK getting
better and better regarding latency, so first try with your
current kernel. The actual latency is controlled by jackd
parameters -n and -p (read man jackd). If your kernel isn't
able to provide low enough latency, you'll get drop-outs and
xruns (the former being the audible consequence of the
latter).

If you have problems with setting pulseaudio to work in
combination with jack, or anything else pulseaudio related,
then feel free to ask further questions.

If it turns out that your system needs latency-tuning, here
are a few kernel options you could try without compiling an
-rt patched kernel:
CONFIG_NO_HZ=y
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_HIGH_RES_TIMERS=y (AFAIK this requires a rather recent kernel)

There may be others that I'm not aware of. These are
beneficial to pulseaudio regardless of what kind of setup
you need (jack or not).

If you end up needing a patched kernel, here's the wiki of
the patchset: <A class=moz-txt-link-freetext href="http://rt.wiki.kernel.org/index.php/Main_Page">http://rt.wiki.kernel.org/index.php/Main_Page</A>

If you have further questions about latency stuff, I
recommend searching the <A class=moz-txt-link-abbreviated href="mailto:linux-audio-user@linuxaudio.org">linux-audio-user@linuxaudio.org</A> list
archives, and if that doesn't help, then send questions
there. That's a very good list to subscribe to anyway, if
you're going to do any audio work on Linux.

And then a note on flash. Flash requires a thing called
libflashsupport due to Adobe's plugin's bugginess. AFAIK it
will be packaged eventually, but currently you have to
compile it yourself. The link you gave refers to an outdated
version of the "thing". More recent information is available
at <A class=moz-txt-link-freetext href="http://www.pulseaudio.org/wiki/PerfectSetup#FlashPlayer9">http://www.pulseaudio.org/wiki/PerfectSetup#FlashPlayer9</A>.
In short: get the one that's hosted at git.0pointer.de, not
the revolutionlinux one.

An alternative to the flash plugin is <A class=moz-txt-link-freetext href="http://keepvid.com">http://keepvid.com</A>,
which allows you to download the .flv files in Youtube and
several other supported services. Then just play the file on
your favourite media player. Keepvid.com is enough for me,
but YMMV. Note the white button saying "Drag this button..."
etc. It talks about a "links toolbar" but bookmarking the
script does the same thing.

  </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">Question:   PA, esound, jackd, etc.. are all called sound servers,
implying that you can replace one with another... like apache vs iis....
    </PRE></BLOCKQUOTE><PRE wrap=""><!---->
I'd say that being a sound server implies only that the
server is somehow capable of software mixing.

  </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">is the main difference that they use different client/server
communication protocols?
    </PRE></BLOCKQUOTE><PRE wrap=""><!---->
The main difference of pulseaudio and jack is their
different designs and goals. Maybe the communication
protocols somehow reflect that, I don't know. Esound's
distinctive feature is being dead, I don't know much else
about that thing.

  </PRE></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>pulseaudio-discuss 
  mailing 
  list<BR>pulseaudio-discuss@mail.0pointer.de<BR>https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss<BR></BLOCKQUOTE></BODY></HTML>