On Thu, 15 February, 2007 11:45 pm, Eric Jorgensen wrote:
> ossmixer.py always uses /dev/mixer regardless of value of DEV_MIXER.
>
> This is really annoying when your audio device is using /dev/mixer2.
One workaround is to use the environment variable MIXERDEV.
>From the python docs:
openmixer( [device])
Open a mixer device and return an OSS mixer device object. device is the
mixer device filename to use. If it is not specified, this module first
looks in the environment variable MIXERDEV for a device to use. If not
found, it falls back to /dev/mixer.
Or you can change the code from (line 71):
if config.DEV_MIXER:
try:
self.mixfd = ossaudiodev.openmixer()
except IOError:
print 'Couldn\'t open mixer %s' % config.DEV_MIXER
to:
if config.DEV_MIXER:
try:
self.mixfd = ossaudiodev.openmixer(config.DEV_MIXER)
except IOError:
print 'Couldn\'t open mixer %s' % config.DEV_MIXER
If you raise a bug report on the tracker the change will go into 1.6.3
Thanks
Duncan
>
>
> mixer.py does not have this issue.
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>
>
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users