You are not logged in.

#1 2012-11-16 18:49:32

agkbill
Member
Registered: 2011-06-13
Posts: 85

[SOLVED] No sound with Chromium, libpepflashplayer problem.

Hi,

I had problem with no sound in Chromium when using the flashplayer, but it all worked in Firefox.

The problem was the chromium-pepper-flash player that I used as described in the Wiki.

with that player I get following message when starting Chromium:

ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'Audigy Analog/Digital Output Jack',0,0,0): No such file or directory

But if I use:

Shockwave Flash
Version:    11.2 r202
Location:    /usr/lib/mozilla/plugins/libflashplayer.so
Type:    NPAPI

I got sound ok, unfortunately the player crach much more often, something that was the reason I changed to  chromium-pepper-flash player

Any ides why I do not get sound in Chromium with chromium-pepper-flash player?

Best regards.
Christer

Last edited by agkbill (2012-12-08 08:29:34)

Offline

#2 2012-12-08 08:29:13

agkbill
Member
Registered: 2011-06-13
Posts: 85

Re: [SOLVED] No sound with Chromium, libpepflashplayer problem.

To share my findings.


The problem was a the settings in asound.conf.

My old "asound.conf."

# conver alsa API over jack API
# use it with
# % aplay foo.wav

# use this as default
pcm.!default {
    type plug
    slave { pcm "jack" }
}

ctl.mixer0 {
    type hw
    card 1
}

# pcm type 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
    }
}

Left since I was playing around wirh PureData and Jack.

All my outher audio apps like mpd, xbmc worked just finde with this one but not libpepflashplayer.


My new asound.conf

# use this as default
pcm.!default {
    type hw
    card 0
    device 0
}

ctl.mixer0 {
    type hw
    card 0
}

With the new one also libpepflashplayer works OK.

Using libflashplayer was a very bad option for me because it crash so often. libpepflashplayer much more stable for me.

All the best.
Christer

Offline

Board footer

Powered by FluxBB