Le Mon, 21 Dec 2009 16:25:59 +0200, Iwan Ferreira <iwanferreira@xxxxxxxxx> a écrit : > > > > Hi! > > > > I'm trying to add a softvol control to act as a master control for all the > > channels on my sound card. I have a M-Audio Revolution 7.1 soundcard. > > ALSAMIXER shows PCM, center, LFE, rear and side mixers, but no master mixer > > to control all the channels. I'm currently running Ubuntu 9.04 which uses > > the Pulse Audio sound server by default. > > Same problem here with a M-Audio Audiophile 192, no master control, only a PCM control. Some programs get confused with it because they want to talk to a Master control. I don't use pulseaudio so I cannot help you directly. That said, some programs (I guess the gnome ones) are using it as default sound server. I configured my system to run jack by default. My .asoundrc is as follow: # convert alsa API over jack API # use it with # % aplay foo.wav # use this as default pcm.!default { type plug slave { pcm "jack" } } # pcm type jack pcm.jackplug{ type plug slave {pcm "jack"} } pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } } # oss will use the alsa to jack API by default # test it with # % aoss mpg123 some.mp3 pcm.dsp pcm.!default After stating jackd with qjackctl, all the alsa and oss programs are routed to jack. I am not sure if the oss part of my .asoundrc is still needed with recent alsa and jack versions. Even flash+firefox is working fine with jack without to have to run it with "aoss firefox", "firefox" is enough now, it changed a few months ago after a system update. But maybe that is flash that have been improved, I don't know for sure. The programs using pulseaudio are working with this config and the default pulseaudio config of my distribution (gentoo). I can see sometime in htop than pulseaudio is running. Dominique > > In my pulseaudio /etc/pulse/default.pa file I added the following: > > load-module module-alsa-sink device="surround71" channels=8 sink_name=sur71 > > This allowed me to have output on all the channels from all the players I > > use (Rhythmbox, Mplayer...) so I have no ALSA config to upmix stereo or 5.1 > > to 7.1. > > > > Im my .asoundrc file in my home directory I put the following: > > pcm.!default { > > > > type plug > > > > playback.pcm "softvol" > > > > } > > pcm.!surround71 { > > > > type plug > > > > slave.pcm "softvol" > > > > } > > pcm.softvol { > > > > type softvol > > > > slave.pcm "hw:0,0" > > > > control { > > > > name "SoftMaster" > > > > card 0 > > > > } > > > > } > > > > This adds the "SoftMaster" mixer control to the ALSA mixer, but it is not > > working as expected. In both Mplayer and Rythmbox the movie/music is started > > but only plays for a few seconds and then stops. I also noticed that the > > timer in both these applications do not start, it stays at 00:00. If I > > change the volume on the SoftMaster mixer while the sound is playing it does > > work on all channels. > > > > If I test the softvol mixer with speaker-test it works fine. If I remove > > the pcm.!surround71 from the asoundrc file everything works as before and > > the softvol mixer does nothing. > > > > What am I missing? Can anyone help me with this? > > > > Thank you in advance! > > Iwan > > -- If this message is send to an email list, please make sure to answer onto the list, or you will be ignored. "We have the heroes we deserve." ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user