From: Ken H. <ke...@ha...> - 2005-12-05 16:30:58
|
Peter wrote: > On Sun, 04 Dec 2005 14:22:20 -0800, Ken Hayber wrote: > > >>In an effort to remove dependencies on OSS, MusicBox 026 is released with additional ALSA support. >> >>While still preferring pyao/libao for audio output, if you have pyalsaaudio (0.2) installed, you >>will be able to playback and control the volume using ALSA. (However, in my testing pyalsaaudio's >>sound output was clippy) >> >>In addition to the above the following was changed: >>- Fixes for endianness issues (Intel vs the world, e.g. PowerPC) >>- Fixed passing device parameter to Player initialization method >>- Refactored all the drivers and decoders into a plugins directory (prepping for AAC support) >> >>See the Changes file for the full report. >> >>As always: http://www.hayber.us/rox/MusicBox or http://www.hayber.us/0install/MusicBox >> >> > Works fine, except I get an infinite number of this error printed: > ALSA lib control.c:817:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer > Failed to open mixer device /dev/mixer > > However, /dev/mixer exists and has full permissions for group audio (which > user belongs to). I also tried /dev/sound/mixer which is the link from > /dev/mixer. Also prints infinite errors. > > Audio seems to play fine though. > > However, the error is annoying. > > pyalsaaudio 0.2 > alsa-lib 1.0.10 > > Any clue where this is coming from? Seems like alsa-lib is getting the > wrong device name. > I need to clean up the Options I guess. For alsa output the mixer entry should be 'default', not '/dev/mixer'. I really think I need to add a second option here for the output device too. For alsa these would both be 'default' (or whatever alsa cardname you want). For OSS they would be /dev/dsp and /dev/mixer or suchlike. For pyao/libao the output device is detected automatically (they have a specific algorithm) and is ignored. I'm wondering if an 'Advanced' options tab or 'Plugins' or 'Drivers' would be a good thing to add, to give finer control over these options. Right now there is little control or feedback about what is going on. |