Ok, impatient guy that I am, I've added a very basic version; because ossaudiodev provides most of what we're doing with ioctl and bitshifts using integers, it was pretty simple, and we could probably simplify the mixer code in Freevo substantially (i.e. one function for get/set volume rather than setPCM, setVOL, etc.)
On Tue, Aug 26, 2003 at 02:40:00PM -0400, Aubin Paul wrote: > There is a standard interface in Python for oss audio, including mixer > control, and it's platform independent (at least for platforms using > OSS, like Linux and *BSD) > > The module is called ossaudiodev, and the documentation is here: > http://www.python.org/doc/current/lib/module-ossaudiodev.html > > I don't use the mixer myself, but we should definitely move to > something like this since it removes another annoyance from being "our > problem" and makes it Python upstreams :) > > Plus, the current implementation is full of warnings due to the hard > coded ioctls, which do not travel well either. > > It's included with both Linux and FreeBSD versions of Python... > > Aubin > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel