> > The problem is that our mixers don't provide a smooth range 0..255 > > (scaled to 0..100 by the OSS emulation) but will ratchet up to the > > next supported value. The details may vary with the sound hardware, > > on my laptops (clcs, auich) the step size is 8. mp3blaster tries > > to adjust the volume by +/- 2 on the OSS scale, which doesn't work. > > BTW, this is a problem is several ports. If anybody can think of a > generic solution...
How about a kernel solution. Instead of always rounding up, we can make the code round to farthest thing. So that n+1 would round to n+8, and n-1 would round to n-8. Would that help?