make code more readable by extracting magic numbers fix interface range

Original commit message from CVS:
make code more readable by extracting magic numbers
fix interface range
This commit is contained in:
Thomas Vander Stichele 2004-02-02 14:34:52 +00:00
parent 16c8b080a6
commit ef4ae76312

View file

@ -1,3 +1,14 @@
2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/volume/gstvolume.c: (gst_volume_set_volume),
(gst_volume_get_volume), (volume_class_init), (volume_init),
(volume_chain_int16), (volume_update_volume):
* gst/volume/gstvolume.h:
make code more readable by removing magic numbers
make mixer interface export 0-100 range
make it internally map to 0.0-1.0 range so users don't distort
output by putting the sliders at full volume
2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org> 2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/gst/play/play.c: (gst_play_tick_callback), * gst-libs/gst/play/play.c: (gst_play_tick_callback),