You are not logged in.

#1 2016-04-10 05:24:32

JackyDawg
Member
Registered: 2016-03-20
Posts: 7

[SOLVED] JACK and youtube/flash audio incompatible.

I have setup my /etc/asound.conf to look like such, to route ALSA audio to JACK when JACK is running.

pcm.!default {
    type plug
    slave { pcm "jack" }
}

ctl.mixer0 {
    type hw
    card 1
}

pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}

I fire up JACK with "sudo jack_control start", and Qtractor opens up just fine.

However, when I set something to play on my browser (like a youtube video, or music streaming), it doesn't work. On youtube, the video just fails to play even though it is loaded. As soon as I stop JACK, it goes just fine. Or if I start JACK and open up Qtractor while a video is going, I get errors from Qtractor that I get when JACK isn't running.

Any ideas?

Last edited by JackyDawg (2016-04-11 00:40:02)

Offline

#2 2016-04-10 07:21:21

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: [SOLVED] JACK and youtube/flash audio incompatible.

Nope, but it works for me with that:

# cat .asoundrc.jack
# ~/.asoundrc

pcm.!default {
    type plug
    slave.pcm {
        @func getenv
        vars [ ALSAPCM ]
		default "softvol"
	}


}

ctl.mixer0 {
    type hw
    card 1
}

pcm.softvol {
    type            softvol
    slave.pcm       "jackplug"
    control {
        name        "Master2"
        card        0
    }
}

pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}

pcm.jackplug {
   type plug
   slave.pcm "jack"
}

Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2016-04-11 00:40:31

JackyDawg
Member
Registered: 2016-03-20
Posts: 7

Re: [SOLVED] JACK and youtube/flash audio incompatible.

I actually was missing the JACK portion of alsa-plugins for some reason. A re-installation of alsa-plugins fixed the problem.

Last edited by JackyDawg (2016-04-11 00:41:08)

Offline

Board footer

Powered by FluxBB