> Hi, > > I recently found freevo while looking for a kind of media center app under > linux > (allowing me to keep all my server stuff running on the same machine). > > I really like it a lot, but I had a problem with sound too. mixer and > ossmixer > plugins don't work with my alsa setup. I can see the mixer idlebar plugin > changing and the OSD volume messages with volume percentage increasing or > decreasing but the sound voume won't really change at all. > I tried changing MAJOR_AUDIO_CONTROL, CONTROL_ALL_AUDIO but nothing > worked. > > So, in case someone would be interested, I ducplicated ossmixer.py and > modified > it into an alsamixer.py plugin that works with the python-alsaaudio module > (http://code.google.com/p/python-alsaaudio/). > > I mainly tested it for the main volume for now but it *should* behave like > the > ossmixer plugin. > I'm using a few config variable (that needs to be defined in > local_conf.py) : > - ALSA_MIXER_NAME : the main volume mixer ('Master' for me) > - ALSA_MICMIXER_NAME : the mic volume mixer ('Mic' for me) > - ALSA_PCMMIXER_NAME : pcm volume mixer ('PCM' for me, but can be set to > 'Master' too if there are no 'PCM' mixer controler, I tested it) > - ALSA_CARDID : the name of the card to be used ('hw:0' for me) > - ALSA_LINEMIXER_NAME : line in volume mixer > > I also added a ALSA_LINE_CARDID ('hw:2' for me) on which > ALSA_LINEMIXER_NAME > will be looked for (and not on my 'hw:0' main card). > > I did it so that I can use it to control the output volume of my bt878 > card > instead of controling a line-in (I don't have my TV card's output plugged > into > my main soundcard, I'm using the snd_bt87x kernel module to have direct > access > to the TV card sound outputs via either /dev/dsp2 for OSS and hw:2 for > Alsa). > > If you prefer to use the main card's line-in with ALSA_LINEMIXER_NAME, > just set > it to whatever your line-in mixer control name is (taken from alsamixer > for > example) and set ALSA_LINE_CARDID to the same value as ALSA_CARDID. > > I hope all this was clear enough and that it can be useful to somebody.
I think this will be a nice addition, will you add it to the tracker as a feature request? http://sourceforge.net/tracker/?func=add&group_id=46652&atid=446898 Duncan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users