On Fri, 1 Feb 2013, Aere Greenway wrote:

> On 02/01/2013 01:42 AM, Holger Marzen wrote:
> > On Thu, 31 Jan 2013, Aere Greenway wrote:
> > 
> > > The only thing that doesn't work together with JACK is the Flashplayer
> > > (for
> > > YouTube Videos).  I have to terminate QjackCtl to play one of those and
> > > have
> > > sound.
> > Hi Aere,
> > 
> > AFAIK the Flashplayer works as an ALSA client. So this should be covered
> > by the redirection in /etc/asound.conf as described in
> > http://www.marzen.de/Holger/pulseaudio_and_jack/
> > under 2.)
> > 
> > I can for example play a song in the browser with a flash based audio
> > player and record it with audacity:
> > http://www.marzen.de/tmp/audacity+jack.png
> > 
> > So ALSA clients use JACK via redirection in /etc/asound.conf,
> > Pulse clients use JACK via definitions in /etc/pulse/default.pa,
> > JACK clients use ... ok, that's simple now :)
> > 
> > Regards
> > Holger
> > 
> Holger:
> 
> Regarding the ALSA portion of your URL (below):
> 
> 2.) In /etc/asound.conf (system wide) or ~/.asoundrc we redirect
>     ALSA-clients to JACK:
> 
>     pcm.!default {
>         type plug
>         slave.pcm "jack"
>     }
> 
>     pcm.jack {
>         type jack
>         playback_ports {
>             0 system:playback_1
>             1 system:playback_2
>         }
>         capture_ports {
>             0 system:capture_1
>             1 system:capture_2
>         }
>     }
> 
> 
> On my system, there is no file in either location.  Also, though the file ends

That's fine, it's usually not at all needed for standard ALSA operation.

> in '.conf', it looks like C++
> code.

I didn't invent the syntax :)

> Creating the file "~/.asoundrc" with the above contents, had no effect on my
> system, even after rebooting (though logoff/logon might have been enough).

Neither is needed. Just a restart of the application.

> Is it something I need to compile, and put the object file somewhere?
> 
> Since there was no file in either location, perhaps it's a difference in using
> Lubuntu (LXDE).

Then your browser/flash might use Pulseaudio. It's becoming popular.
Recent Skype versions need it to function correctly, they don't use the
asound.conf magic either.

Browser audio is becoming a big piece of magic. You never know if it
uses some HTML5-mechanisms or a plugin.

> I have all the other 'flavors' of Ubuntu that I can test it on. What Linux
> distribution do you use?

Xubuntu 12.04 LTS.

I start qjackctl automatically with my graphical session, that starts
Pulseaudio, and I have the above /etc/asound.conf.

Best Regards
Holger

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to