Clemens, >> bar_height = ((volumes[c] - min) * volume_height + max - min - 1) / (max - min); >> value = ((volumes[0] - min) * 100 + (max - min) / 2) / (max - min); > > Thanks. With which hardware do you see this error? I tried it with the hdspm driver after seeing all the complaints about hdsp no longer working with 2.6.32. Unfortunately cannot look into that as I no longer have hdsp cards around. Flo -- Machines can do the work, so people have time to think. public key DA43FEF4 x-hkp://wwwkeys.eu.pgp.net _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel