Softmixer for ALSA/OSS?

Hi,

I saw, that when using Jack as backend, there is a nice softmixer available. I would like to use a similar softmixer when using ALSA or OSS as well, as I don't like it, when music player software changes my global mixer settings. (Why are so many players doing that anyways?)

Is this possible? I have found no setting for this in the configuration docs.

Then an unrelated question: Are there MOC-packages for openSUSE available somewhere?

Thanks for reading.
--
Frank

I'm afraid there is no software mixer in MOC beside Jack.

I know nothing about any openSUSE packages.

--
Damian Pietras - MOC developer

Hi Damian,

thank you for your quick answer.

I think, software mixing would be a great feature to add to future versions. For one, it would also enable volume control for soundcards that don't have a hardware mixer (like several USB cards), but more importantly, one then could control the volume of MOC independently from other sound applications.

I took a quick look at the code for mixing in Jack, and it's surprisingly simple. ;)

I guess it shouldn't be too hard to add a general "SoftwareMixing = yes|no" configuration option, which just scales MOCs output before the final output stage by some global value.

Ciao
--
Frank

It isn't hard, the problem is lack of my free time to do that. I know it would be useful.

Anyway, it's a bit harder than in jack because it always operates on float values, to make a universal software mixer it needs to handle various sound formats (8bits, 16bits, 32bits and float).

--
Damian Pietras - MOC developer