Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th November 2004, 05:48 PM
PeTzZz Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Tartu
Posts: 1,550
How-To: fix MPlayer "alsa-control: mixer attach /dev/mixer error" error

I noticed that some people have problems with the alsa plug-in in MPlayer and so did I. I managed to fix it.

To fix this problem you should open .mplayer/gui.conf in your home directory and change these lines
Code:
ao_oss_mixer = "/dev/mixer"
ao_oss_device = "/dev/dsp"
to
Code:
ao_oss_mixer = "mixer"
ao_oss_device = "dsp"
Next you should edit /etc/asound.conf like this
Code:
pcm.!default {
type plug
slave.pcm "swmixer"
}

pcm.swmixer {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

pcm.dsp {
    type plug
    slave.pcm "swmixer"
}

ctl.mixer {
    type hw
    card 0
}
The text in bold must have. The other text adds "listening to different sound files at the same time" support (read more here).

This must help!



EDIT
If you don't have /etc/asound.conf file, you should create it (by default this file does not exist).

Last edited by PeTzZz; 12th November 2004 at 02:39 PM.
Reply With Quote
Reply

Tags
error, fix, howto, mplayer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound works, still returns error "alsa-util.c: Error opening PCM device" saeedora Using Fedora 0 5th May 2009 01:06 PM
Sound works, still returns error "alsa-util.c: Error opening PCM device" saeedora Hardware & Laptops 0 30th April 2009 03:10 PM
How to get oss mixer in "Volume Control Preferences"? tolika Using Fedora 0 24th February 2007 07:43 PM
:: alsa device "default" had error mohsin Using Fedora 3 26th November 2005 04:59 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 22:25 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat