[solved] 2 sounddevices - no sound in flash or no microphone

I have installed an USB-Soundcard and an USB-Webcam. The problem is, if the webcam is pluged in. The system recognize the soundcard as second device.
**** List of CAPTURE Hardware Devices ****
card 0: Camera [Camera], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [Kenwood Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
So,if i try to watch for example videos on YouTube i don´t have sound, an this error-message in the terminal:
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
If i start the system without the camera plugged-in i have sound. So i created an "/etc/asound.conf" as explained in the wiki, and modified it.
#/etc/asound.conf start:
pcm.!default {
type plug
slave.pcm "dmixer"
pcm.dsp0 {
type plug
slave.pcm "dmixer"
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
bindings {
0 0
1 1
ctl.dmixer {
type hw
card 1
#end.
After doing this i had sound. But the microphone doesn´t work anymore, and i get the following error-message.
ALSA lib pcm_dmix.c:803:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Does anyone has an idea how to fix this? Maybe its possible to set the the second card as standart-output or to change the order: Soundcard = Card 0 /  Webcam = Card1.
Last edited by stonerl (2007-05-30 06:51:40)

To set the order of my two soundcards I've added to modprobe.conf those lines:
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0
options snd-emu10k1 index=0
options snd-intel8x0 index=1

Similar Messages

  • [SOLVED]No more sound in flash, but kmix shows a stream

    Hello all,
    I'm fairly new (and happy that I switched) to Arch .  When I installed Arch on my x86_64 based laptop everything worked fine.  Somewhere along the line I lost sound in flash.  I use KDE with the defaults for sound: Phonon, Pulse, and ALSA.  For my phonon backend I'm using VLC, but have also tried gstreamer.  I first realized the issue in late November and have since been wrestling with it in my spare time to no avail.  I have tried everything in the forums and wikis that I could find (even if it seemed like it didn't apply).  The one difference that I'm experiencing that no one else has posted is that I have a stream show up in kmix when a video is playing, but still have no sound.  It's not muted, and I can move the volume slider with no change.  I have no idea when exactly it broke, or what update may have caused it.  Has anyone had this issue and solved it without posting?  Can anyone offer some troubleshooting advice?  I was previously a Gentoo user of 6+ years and wonder if there  are any Arch tools similar to equery (depends and depgraph flags) that can help me find all the packages installed that are related to flash?  Also, is there anything in Arch that is similar to the Gentoo emerge log?  I would like to clean out everything flash and pulse related and start from scratch, but don't know the best way, or even a clean way, to approach this.
    Thank you in advance for any help offered.
    Regards,
    Joseph
    Last edited by jdwieber (2012-01-13 18:46:16)

    @alexkarro  Thanks for your quick reply and for the links.  Unfortunately, I followed the advice from both links.  I have both lib32-alsa-plugins and lib32-libcanberra-pulse installed.  From what I understand about the first link, my default device is the correct device.  But just in case I'm wrong I pasted the output from aplay and my asound.conf below.  Am I misinterpreting the output to aplay, or configuring my asound.conf wrong?    Originally, when it worked, I got all the config instructions from https://wiki.archlinux.org/index.php/PulseAudio.
    Thanks again.
    jdwieber@beast:~$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    jdwieber@beast:~$ cat /etc/asound.conf
    # Use PulseAudio by default
    pcm.!default {
      type pulse
    ctl.!default {
      type pulse
    # Explicit PulseAudio device
    pcm.pulse {
      type pulse
    ctl.pulse {
      type pulse
    # vim:set ft=alsaconf:

  • [SOLVED] No sound (with flash)

    Hello.
    I have no sound with flash. It does work elsewhere.
    I am using ALSA.
    My flash should output audio correctly according to wiki: https://wiki.archlinux.org/index.php/Fl … d_in_Flash
    # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    EDIT: I'm retarded. I didn't add my user to audio group. And sound elsewhere was from speaker-test which needs SU.
    Last edited by handl3r (2012-01-22 07:39:34)

    codemac wrote:
    Orrrr it's because the flash plugin uses OSS.
    run `aoss firefox` and be happy.
    OSS does still work or at least the alsa backwards compatibility layer that emulates the old interfaces, right? did i miss anything?
    for newer versions of flash (like version 9) simply install firefox in wine and let it install the plugin. that usually works great!

  • [solved] Sound in flash stopped working (alsa, x86_64, rate)

    Why?
    Sound in flash stopped working (alsa, firefox, x86_64). Tried flashplugin-prerelease from archlinuxfr: nothing different.
    Everything worked before I rebooted. I changed nothing else since last reboot.  Can't figure out what happened.
    Updates among other things:
    firefox, xulrunner (firefox I did restart - the new one had sound in flash before I rebooted)
    openal, lib32openal (don't think that has anything to do with it?)
    libsndfile (that's something entirely different, too, right?)
    And a lot of others that don't look related... no Idea how many really, I haven't rebooted in quite a while. Maybe there even was a kernel update since last reboot. Or two.
    edit: Also some interactive flash stuff that did work before has stopped working now.
    edit2: Chromium doesn't have sound in flash either. Tried recompiling firefox / switching to AUR/firefox-pgo: no change. Everywhere else, sound is working fine. Also, several flash games I tried get stuck / freeze after intro.
    Thx!
    Last edited by whoops (2011-03-25 07:31:43)

    Couldn't find any changes there:
    I LC_ALL=C aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    I tried the multilib version and the x86_64 prerelease. Both did work perfectly fine before I rebooted (I tried which one works better recently and couldn't see any real difference). Didn't have trouble with flash for months before this reboot.
    I found a few modules I was unfamilliar with were loaded:
    snd_seq_os snd_seq_dummy snd_seq_midi_event  snd_seq snd_seq_device   
    ... and removed them with rmmod. No change. (I should have restarted alsa at that point I guess just to make sure, those weren't the problem?)
    Then I changed the rate in asound.conf to 41000 and restarted alsa - now everything works again! Strangely, no more freezes too (those were reliable).
    I remember having had problems with flash not having sound unless I set the rate to 41000 about a year ago. After some updates, I tried again and all rates supported by my sound-card seemed to work. My guess would be regression in whatever fixed that problem... but I don't know.
    I'll leave that "unsolved" until I manage to figure out what it really was about.
    Last edited by whoops (2011-03-24 22:17:11)

  • Almost no sound in flash

    Hi
    I've spend the last couple of days, almost nonstop searching the web for a solution for this. Tryed possible solution i found, but no luck so far.
    I got perfect sound in any application, game, media player etc. But neither in internet explorer nor firefox when viewing online videos (youtube, xfire etc) do i get much sound.
    At first i thought there was no sound at all, but when i crank up the speaker system to max i can hear a little (but if i do anything else with sound i get blasted away).
    I've tryed registy fixes, checking if files where there, installing K-lite codec pack to fix regestry issues, uninstalled flash lots of times, rebooted before reinstalling, clearing temp internet files folder etc. Nothing helps.
    I got the feeling that some stupid website somehow has changed a setting somewhere for flash, making sound almost unhearable, but i dunno how i can fix this.
    As said, i searched and tryed all, but im lost now.
    win xp pro (auto updating)
    firefox (auto updating)
    ie (guess its uptodate from windows updates, only use it if something doesnt work in FF)
    onboard realtek hd sound card.
    but as said, everywhere else its fine, just not playing sound in flash based videos.
    noticed this first like 3-4 weeks ago, but figuered the videos i tryed to watch where broken or had no sound. Now i know its just my flash that has no volume set somehow.
    oh, ofcourse i checked everysingle soundcard volume controler and mute box already.
    any help will be appriciated.
    - Bohs

    since noone here cares, i've been trying everything in my powers to get this solved, and i might be a step closer, yet very far away, as i can not fix whats wrong.
    What seems to be wrong is the DirectSound, atleast when i enter dxdiag and test sound there, its extremly silent too, i tryed changing all acceleration features to see if that helps, both in dxdiag and my sound options, that only makes everything worse.
    however my DirectMusic works fine in normal volume.
    But since microsoft is so ****** up on "there stuff", i can not even uninstall and reinstall directx .. i found two fixes on the net that should do this and thereby reinstall whatever is default with XP, but they just totally fock up your system, and you cant do anything without system restore. You can not even choose it from the XP installation cd ...
    i got the latest (9.0c 4.09.0000.0904) version, so i can not update it with a newer ... how do i fix this? its just weird to me that no other application nor game is affected by this - only flash - they all use directx (well Prototype is a little affected, but that seems to be a game problem according to there forums http://forums.activision.com/viewtopic.php?f=54&t=1788 ).
    and please dont tell me to update my audio drivers, cause there aint any newer aviable, and i have tryed reinstalling them several times.

  • No Sound in Flash Player for PC

    I have a PC and I have a problem with Flash Player 8. When I
    visit web sites that use Flash Player there isn't any sound. I've
    tried running the K-Lite Codec Pack, but that doesn't work. Could
    someone help me please?

    HI GUYS I HAD LOTSA MESSING WITH NO SOUND IN FLASH PLAYER 10.VIDEO AT FIRST THEN NOTHIN AT ALL.
    THEN AFTER UNINSTALLING AND THEN RE INSTALLING ,ICHECKED AGAIN ,YET AGAIN NO VODEO /OR SOUND. I THEN WENT TO TOOL BAR,CLICKED ON TOOL OPTION AND CHECKED THAT FLASH PLAYER WAS ENABLED ,BELIEVE IT IT WAS NOT. I ENABLED FLAS PLAYER THEN WENT BACK ON YOU TUBE AND WOW __EE THERE IT WAS WORKING LIKE A REAL GOOD ONE
                                                    HOPE THIS SOLVES YOUR PROBLEM IT DID FOR ME
                                                                                  BEST OF LUCK GUYS
                                                                                                     EXCALIBUR

  • No sound in flash videos

    I would like to say that I am not a native speaker and English is my second language.
    Well, back to the topic. Sometimes safari stop playing sounds in flash videos. Its annoying because the only solution I found is to quit safari, start garage band, quit garage band and start safari again. After some research I found out that there is something wrong with sound frequency in preferences. Is there a permanent solution for this?

    MIDI setup is set correct.
    I did restart my computer. I know how to fix the issue. But I am sick of neverending Garage Band solving. Is there any pernament solution?

  • No Sound In Flash Applications

    Hello.
    So, about 3 month ago or later, adobe had announced the new version of ADOBE FLASH PLAYER, i think it was 10.1. When i updated my flash player to version 10.1, my sound in my browser (im using MOZILLA FIREFOX) had gone. I cant hear any sound in youtube, i cant hear any sound in flash games, but video goes normal. I have searching reason for a long time. I have found many sollutions, and i have tryed all of them on my pc. Im a power user in computer, im not a begginer, but i cant solve this problem. Now i got Windows XP, SP3, and installed adobe flash player of version 10.1.82.76. Maybe some one can help me???

    Hi eidnolb,
    You are certainly right about resolving audio issues.
    Actually you pointed me in the right direction when you told NoviceGG to go to administrative tools.  While in the control panel I decided to check out QT first.  I am not a big fan of QT and rarely use it but others in my house like to use iTunes for their iPods and QT comes bundled in the download.  At any rate, iTunes was updated and along with it came an update for QT.  I think someone downloaded an .flv file and when they played it with QT it set the streaming video default to QT.  At least that is what I believe happened, although I am not 100% certain.  I don't think QT was automatically set as the default streaming video player when it was downloaded but that is a possibility also.
    I had no audio for any streaming video in any browser, FF, Chrome, and IE.  Video was fine in all three.
    Somehow QT gets it's own Control Panel category.  Which is actually only QT preferences.  Seven tabs across the top: Register; Audio; Browser; Update; Streaming; File Types; Advanced.
    The first tab I clicked was the Audio tab.  But that is more of a device manager and you can select bit rate, channels, and size (8 bit, 16 bit, or 24 bit).  I realized that wasn't it then went to the Streaming tab and that deals with connection speeds, delays, and an instant-on option.  Not it either.  So I hit the File types tab and it reads; 'Select the file types for which you want QuickTime player to be the
    default player.'  Top box; Streaming-Streaming movies was checked.  These are expandable boxes (with the + to show more specific file types).  Seven expandable boxes to check or uncheck:
    Streaming-Streaming movies; 
    Video-Video only and video with audio file formats;
    Audio-Audio only file formats;
    MPEG-MPEG system, video and audiofiles;
    MP3-MPEG Layer III movies and streams;
    Images-Simage files
    Miscellaneous-Miscellaneous file formats
    I unchecked the top box the tested it and that was it.  I thank you very much for pointing to the control panel.  You are a very helpful member of the forum.
    I actually just now joined so I could share my discovery with NoviceGG.
    I hope this helps you out with your knowledge base a little eidnolb.
    Thanks again!
    plee426

  • No sound in flash....(firefox)

    it seems I have no sound with flash. though flash does work and so does my sound (I tested it with the front and center thing)
    I think I know what the issue is however. See the sound card I use is my pci card but by default the pc uses my integraded sound (which doesnt work....) so I set my pci card load by default and everything works fine but flash...I think that is becuase  flash loads the intel (integaded) drivers....
    I had this issue before when I was new to linux in ubuntu and I solved it be reinstalling only the drivers for my ens1370 card (the pci card) and then everything worked fine but I cant seem to recreate that in arch
    http://ubuntuforums.org/showthread.php?t=205449
    I followed that guide in ubuntu. Specifly that parts on making the pci card the default in modprobe.d
    and uninstalling the default drivers and reinstalling the divers for my pci card...
    also I Looked at alsa in the wiki and nothing there seemed to be related reinstalling drivers..

    Welcome to forums.
    Since ALSA is a kernel module now, there's no installing drivers anymore. One way to get rid of your on-board sound card now is to blacklist the modules that it used in the MODULES array in /etc/rc.conf.

  • No sound in Flash after Rhythmbox

    (I am fully aware there are over 9000 threads about Sound in Flash, however, many of them are 64-bit issues, or they aren't similar enough to my issue to work.)
    Running 32-bit Arch on a Sony Viao VGN-CR507E (Sound card is Intel, along with 90% of other hardware)
    Using Alsa & Pulseaudio. For some reason, I seem to need both. Just -Syu'ed.
    Have installed: (pacman -Qe | grep -i pulse; pacman -Qe | grep -i alsa)
    alsa-oss 1.0.17-2
    alsa-plugins 1.0.24-3
    alsa-utils 1.0.24.2-3
    pulseaudio 1.1-1
    pulseaudio-alsa 1-2
    If I play a Flash video in any browser before loading and playing music with Rhythmbox, sound works just fine.
    If I listen to music using Rhythmbox first, Flash's sound is nonexistent, and no combination of mixer settings lets sound play.
    This seems to possibly be a Rhythmbox issue, as Flash's sound works fine after using Audacious.
    A flash video played in VLC seems to be unaffected by this.
    (I'm switching to Audacious as a temporary fix until this is truly solved.)

    I assume you already did this? https://wiki.archlinux.org/index.php/Pu … #GStreamer

  • No sound in flash player please help =S

    title and summary says it all, please help me :)
    <edit>
    fixed it dont worry
    </edit>

    HI GUYS I HAD LOTSA MESSING WITH NO SOUND IN FLASH PLAYER 10.VIDEO AT FIRST THEN NOTHIN AT ALL.
    THEN AFTER UNINSTALLING AND THEN RE INSTALLING ,ICHECKED AGAIN ,YET AGAIN NO VODEO /OR SOUND. I THEN WENT TO TOOL BAR,CLICKED ON TOOL OPTION AND CHECKED THAT FLASH PLAYER WAS ENABLED ,BELIEVE IT IT WAS NOT. I ENABLED FLAS PLAYER THEN WENT BACK ON YOU TUBE AND WOW __EE THERE IT WAS WORKING LIKE A REAL GOOD ONE
                                                    HOPE THIS SOLVES YOUR PROBLEM IT DID FOR ME
                                                                                  BEST OF LUCK GUYS
                                                                                                     EXCALIBUR

  • [Solved] Can't get sound to work proper

    Hey
    I use KDE4 with KMix. I have 5.1 Optical sound.
    When I enter Audio Setup in KMix and test the "hw: 0,1" option I get playback.
    But I haven't gottten any sound except that. Tried a video in MPlayer and Youtube video in Firefox.
    I'm still abit new to Arch and linux.
    Also tried adding
    ctl.equal {
    type equal;
    pcm.plugequal {
    type equal;
    # Modify the line below if you do not
    # want to use sound card 0.
    #slave.pcm "plughw:0,0";
    #by default we want to play from more sources at time:
    slave.pcm "plug:dmix";
    #pcm.equal {
    # Or if you want the equalizer to be your
    # default soundcard comment the following
    # line and uncomment the above line.
    pcm.!default {
    type plug;
    slave.pcm plugequal;
    pcm.eq {
    type ladspa
    # The output from the EQ can either go direct to a hardware device
    # (if you have a hardware mixer, e.g. SBLive/Audigy) or it can go
    # to the software mixer shown here.
    #slave.pcm "plughw:0,0"
    slave.pcm "plug:dmix"
    # Sometimes you may need to specify the path to the plugins,
    # especially if you have just installed them. Once you have logged
    # out/restarted this should not be necessary, but if you get errors
    # about being unable to find plugins, try uncommenting this.
    #path "/usr/lib/ladspa"
    plugins [
    label mbeq
    id 1197
    input {
    #this setting is here by example, edit to your own taste
    #bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
    #50000hz, 10000hz, 20000hz
    controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
    # Redirect the default device to go via the EQ - you may want to do
    # this last, once you're sure everything is working. Otherwise all
    # your audio programs will break/crash if something has gone wrong.
    pcm.!default {
    type plug
    slave.pcm "eq"
    # Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
    pcm.dsp0 {
    type plug
    slave.pcm "eq"
    To
    /etc/asound.conf
    Which I got from https://wiki.archlinux.org/index.php/Ad … leshooting
    Last edited by Syth (2011-11-03 20:20:43)

    Syth wrote:Well as I said. Sounds like KDE startup sound and such works. Just can't get any sound out of mPlayer and youtube.
    Did what you said. PCM was the only one muted.
    Oddly, I recently started having the opposite problem.  KDE startup and other systems sounds have stopped playing.  All my other sound (mplayer, flash, etc) work fine.  I can play the startup sound fine when opening it via dolphin.  It just doesn't play on startup, or any other system sound.  I know this happened after a recent update but I am not sure what or when caused it.  Startup sound isn't that important to me but fixing it is.  No luck so far.

  • No sound in Flash Player, using Ubuntu 10.04

    As the title says, there is no sound in Flash Player.
    I have:
    flashplugin-nonfree-extrasound      0.0.svn2431-3
    flashplugin-nonfree                       10.0.45.2ubuntu1
    flashplugin-installer
    I also have gnash, klash, swfdec and some others.
    Could you help me?

    I switched to OSS, and it got fixed.

  • No sound in Flash applications like Youtube and Zynga-Frontierville. (Win7, ff 5.1, AdobeFlash 10.3.181.34)

    I get no sound in Flash applications like Youtube and Zynga-Frontierville. Video is fine.

    I'm not sure how related is this with the thing that happened to me but here it goes.
    A while ago I couldn't have two applications that can use the audio channels at the same time. For instance, if I had a paused movie with VLC I could play a video on YouTube but with no sound. Is that your case? Or it doesn't work at all?

  • No Sound with Flash 10

    Hi,
    I'm back with a new problem. On a Gateway laptop running Windows XP, I have no sound with Flash. Sounds are coming through on Media player and with web sites home page. When I play a you tube vid or email vid there is no sound? ????
    Thanks for your help.

    I did the ten step codec cleaning, I think you posted that originally if not
    I'll dig up the link, sorry I'm at work.  After that I ran malwarebytes (no
    malware), then I accessed the audio properties under the control panel and
    monkeyed with them, they'd been changed to modem#0 from my normal semantec
    harware.  I changed that and rebooted and everything was seemingly okay.
    However, the little speaker icon had disappeared from the tray about the
    same time my audio problems had started and has never returned so there may
    be deeper issues.
    Here<http://www.codecguide.com/fix_for_flash_sound_problems.htm> is
    the codec link I was referring to.  Hope this helps.  D

Maybe you are looking for