Commit bad084b0 authored by Davyd's avatar Davyd Committed by Sebastian Dröge

gst/volume/gstvolume.*: Add support for int32, int24 and int8 to the volume element.

Original commit message from CVS:
Based on a patch by: Davyd <davyd at madeley dot id dot au>
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_real_volume), (gst_volume_set_volume),
(gst_volume_init), (volume_process_int32),
(volume_process_int32_clamp), (volume_process_int24),
(volume_process_int24_clamp), (volume_process_int16),
(volume_process_int16_clamp), (volume_process_int8),
(volume_process_int8_clamp), (volume_update_volume), (plugin_init):
* gst/volume/gstvolume.h:
Add support for int32, int24 and int8 to the volume element.
Fixes #445529.
parent f9893ae9
2007-08-23 Sebastian Dröge <slomo@circular-chaos.org>
Based on a patch by: Davyd <davyd at madeley dot id dot au>
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_real_volume), (gst_volume_set_volume),
(gst_volume_init), (volume_process_int32),
(volume_process_int32_clamp), (volume_process_int24),
(volume_process_int24_clamp), (volume_process_int16),
(volume_process_int16_clamp), (volume_process_int8),
(volume_process_int8_clamp), (volume_update_volume), (plugin_init):
* gst/volume/gstvolume.h:
Add support for int32, int24 and int8 to the volume element.
Fixes #445529.
2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
* tests/examples/Makefile.am:
This diff is collapsed.
......@@ -59,7 +59,10 @@ struct _GstVolume {
void (*process)(GstVolume*, gpointer, guint);
gboolean mute;
gint volume_i, real_vol_i; /* the _i(nt) values get synchronized with the */
gint volume_i32, real_vol_i32;
gint volume_i24, real_vol_i24; /* the _i(nt) values get synchronized with the */
gint volume_i16, real_vol_i16; /* the _i(nt) values get synchronized with the */
gint volume_i8, real_vol_i8; /* the _i(nt) values get synchronized with the */
gfloat volume_f, real_vol_f; /* _f(loat) values on each update */
GList *tracklist;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment