OK, I see what the problem is, I'll have to modify alsamixer.py for that ... Unfortunately I'm flying to France today, so don't expect it before wednesday :)
Emmanuel Sale wrote: > Cyril, > > I am still missing something > > here is my asound.rc > pcm.!default { > type plug > slave.pcm ttable > } > > pcm.ttable { > type route > slave.pcm delta > ttable.0.0 1 > ttable.1.1 1 > ttable.0.5 0.5 > ttable.1.5 0.5 > } > > pcm.delta { > type softvol > slave { > pcm "hw:0,0" > } > control { > name "softvolume" > card 0 > } > min_dB -64.0 > } > > And I have to use amixer sget softvolume xxx to control my volume > through irrexec instead of using freevo > Did I have to modify your plugin to target directly my control like here > os.system('amixer sset '+channel+' '+str(vol)) where channel is > "softvolume" for me > > The issue is that freevo is targeting VOL or PCM and I need that it > targets my softvolume control. Where is define this variable "channel" ? > > Tks for your support :) > > 2005/12/19, Duncan Webb <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Cyril wrote: > > >Well, pyalsaaudio is still in beta (it's their second release)... > maybe > >for stability reasons we should wait to use it? > > > > > There are lots of applications out there that are beta tagged and > quite > stable, unless a package is being actively developed then either > it's just doesn't work or it's stable and the developer just doesn't > have the confidence to say it's stable. pyalsaaudio seems that they > make a release not so often 9 months so I would guess that it is > stable. > > Have fun, > Duncan > > >Duncan Webb wrote: > > > > > >>Cyril wrote: > >> > >> > >>>Hi all, > >>> > >>>I've been having a few problems with my new onboard soundcard > (sis7012), > >>>because it has no hardware volume control available. As a > consequence of > >>>this, the only way to set the volume in freevo (or anything > else) is to > >>>use alsa's plugin dmix. > >>>The way ossmixer was made couldn't work with my setup, so as a > result of > >>>my frustration, I edited the ossmixer.py plugin to make it use > amixer to > >>>set the volume. > >>>Then, as it doesn't qualify as 'oss'mixer anymore, I changed > its name > >>>and cleaned up the code a bit. > >>> > >>>I don't know if there's a library to control alsa devices with > python, > >>>so I only used os.system('amixer ...') calls to set the volume, > but it > >>>seems to work really well (even to control different channels > >>>apprently). > >>> > >>ttp://www.wilstrup.net/pyalsaaudio/ > >> > >>>aybe this plugin could find its place in the default plugins, i > think > >>>it can be useful for someone :) > >>> > >>>alsamixer.py is included, so ... do whatever you want with it :) > >>> > >>Cool, I'll give it a go, the oss mixer code is not too nice. > >> > >>Cheers, > >>Duncan > >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > <http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click> > _______________________________________________ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > <mailto:Freevo-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/freevo-devel > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel