sys/sunaudio/: Fix up the mixer tracks to use a volume range of 0-255, which is what...
authorBrian Cameron <brian.cameron@sun.com>
Thu, 27 Mar 2008 09:36:58 +0000 (09:36 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 27 Mar 2008 09:36:58 +0000 (09:36 +0000)
commit01c237e91d664e14d9ec2afb1ddf0aa07ca0579c
tree11ec0d970c6208b19cc70f32221a26d4024ac42c
parent70ee2ee5e08c424f76462fdc3f00f7cc219dbe44
sys/sunaudio/: Fix up the mixer tracks to use a volume range of 0-255, which is what the sun audio API uses. This sim...

Original commit message from CVS:
Patch by: Brian Cameron <brian.cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_get_volume),
(gst_sunaudiomixer_ctrl_set_volume):
* sys/sunaudio/gstsunaudiomixertrack.c: (gst_sunaudiomixer_track_new):
Fix up the mixer tracks to use a volume range of 0-255, which is what
the sun audio API uses. This simplifies the code and avoids rounding
errors. Fixes #524593.
ChangeLog
sys/sunaudio/gstsunaudiomixerctrl.c
sys/sunaudio/gstsunaudiomixertrack.c