FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    faustoandrade Guest

    Exclamation Are you having problems with multiple sound in FC4 ? Look at this !

    Greetings from Brazil
    Here's how i managed to solve my problems with sound in fedora core 4 ...

    first edit the /etc/asound.conf ... it sould look something like this:

    #beginnig of asound.conf
    pcm.asymed {
    type asym
    playback.pcm "dmix"
    capture.pcm "dsnoop"
    }
    pcm.!default {
    type plug
    slave.pcm "asymed"
    }
    pcm.!dmix {
    type dmix
    ipc_key 5678293
    ipc_key_add_uid yes
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 128
    buffer_size 2048
    format S16_LE
    rate 48000
    }
    }
    pcm.!dsnoop {
    type dsnoop
    ipc_key 5778293
    ipc_key_add_uid yes
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 128
    buffer_size 2048
    format S16_LE
    rate 48000
    }
    }
    #end of asound.conf

    now, i have skype, xmms, xine player, gaim, and some other programs all working perfectly with sound ....
    skype demmands that the buffer size be 2048, i 've tried other settings but it wouldn't work ... so if you use skype i suggets you leave the buffer size at 2048 and the Period size at 128 .... You should start skype with alsa like this: "aoss skype"

    With xmms you'll need the xmms-alsa plugin and configure it to use the same settings in the asound.conf ... Buffer time = 2048 and Perido time = 128 and disable Mmap, this is done in the advanced tab in the alsa-plugins configuration.

    Like skype all others applications that require sound sould be started trhough alsa: "aoss <app>".

    Well, i hope this helps ....

    See ya !!!

  2. #2
    Join Date
    Nov 2005
    Location
    Florida, United States
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does this solve the problem of not being able to play sound files from different players at once? Because I cant play files from noatun and xmms at the same time. thanks.
    "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had."

    -Linus Torvald

  3. #3
    faustoandrade Guest
    Quote Originally Posted by MicronINC
    Does this solve the problem of not being able to play sound files from different players at once? Because I cant play files from noatun and xmms at the same time. thanks.
    yes, it should ..... i can use xmms, skype, xine or any other sound app, that uses alsa, at the same time ...

  4. #4
    Join Date
    Nov 2005
    Location
    Florida, United States
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Allright. Thanks faustoandrade, I'll put this one to work. Cheers!
    "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had."

    -Linus Torvald

  5. #5
    Join Date
    Oct 2005
    Location
    Sosnowiec, Poland
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    obrigado faustoandrade

    it works for me
    F14 x86_64
    -------------------------------------------------------
    http://www.michalklich.com
    Emancipate yourself from mental slavery, none but ourselves can free our mind.
    Bob Marley

  6. #6
    thoffmeyer Guest
    Works awsome here too

  7. #7
    TomJoad Guest
    I doesn't work for me. I have updated FC4 now, and in /etc/asound.conf there are the following lines which are completely different from the above ones:
    Code:
    #Generated by system-config-soundcard, do not edit by hand
    #SWCONF
    #DEV 0
    defaults.pcm.card 0 
    defaults.pcm.device 0 
    defaults.ctl.card 0
    Any hints?

    Thanks in advance!

    TomJoad from Hungary

  8. #8
    Join Date
    Sep 2005
    Location
    West Covina, CA
    Age
    71
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TomJoad
    I doesn't work for me. I have updated FC4 now, and in /etc/asound.conf there are the following lines which are completely different from the above ones:
    Code:
    #Generated by system-config-soundcard, do not edit by hand
    #SWCONF
    #DEV 0
    defaults.pcm.card 0 
    defaults.pcm.device 0 
    defaults.ctl.card 0
    Any hints?

    Thanks in advance!

    TomJoad from Hungary
    Thats exactly the same asound.conf I have and the mic never works with Skype. When I try yoo call I get a red phone
    All other playback type programs (ex: XMMS, Amarok, XINE) work fine. All line and mic's are enabled in ALSA. If you figure this out let me know. Thanks
    -Mike
    [Registered as user #402956 with the Linux Counter]
    http://counter.li.org

    Dimension 2350, 1g Corsair Memory, WD250G hard drive, and a really good fan.

    Ubuntu 9.04

  9. #9
    TomJoad Guest
    Quote Originally Posted by grndplane
    Thats exactly the same asound.conf I have and the mic never works with Skype. When I try yoo call I get a red phone
    Does your microphone however work? I have no problem with my microphone, I even use two of them, because my sound card has a 2nd plug in the front of the computer box. Maybe your's have 2 also, and you should select the Mic 2, from the list in the volume preferences. My problem s rather with the playback. When I listen to music, I can't use nor skype, nor a webpage with flash in it, because they can't reach the sound output

  10. #10
    Join Date
    Sep 2005
    Location
    West Covina, CA
    Age
    71
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have never tried to record with the mic. Is there a program or a test I could try? I have the kicker applet for alsa turned on and everything is cranked up. Thanks
    -Mike
    [Registered as user #402956 with the Linux Counter]
    http://counter.li.org

    Dimension 2350, 1g Corsair Memory, WD250G hard drive, and a really good fan.

    Ubuntu 9.04

  11. #11
    Join Date
    Sep 2005
    Location
    West Covina, CA
    Age
    71
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK here is a bit more information. When I log on as root and use the Kmixer, I can enable the mic and the 20db boost. Then crank up all the controls and start Skype. I can call the Echo/Test and I can barely here myself talk, but I get no errors and it appears to work with the exception of low mic volume. When I log on as regular user and start Skype and try the Echo/Test it says problem with sound system. The Kmixer is set the same, and all other play back programs work fine. I think it is a permission thing again, and I have disabled just about everything on this system(ex: firewall, seclinux, and set permissions to everything to all users. Where do look next? Thanks
    -Mike
    [Registered as user #402956 with the Linux Counter]
    http://counter.li.org

    Dimension 2350, 1g Corsair Memory, WD250G hard drive, and a really good fan.

    Ubuntu 9.04

  12. #12
    Join Date
    Sep 2005
    Location
    West Covina, CA
    Age
    71
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now sound only works in root. The other 5 users can not play sound. I do not see anyplace in root to give sound permissions to other, or all users. Where do I go from here. Thanks
    -Mike
    [Registered as user #402956 with the Linux Counter]
    http://counter.li.org

    Dimension 2350, 1g Corsair Memory, WD250G hard drive, and a really good fan.

    Ubuntu 9.04

Similar Threads

  1. Replies: 3
    Last Post: 23rd June 2009, 08:42 AM
  2. Replies: 0
    Last Post: 19th June 2009, 05:15 PM
  3. Replies: 0
    Last Post: 13th July 2005, 04:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •