mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
This commit is contained in:
parent
b89495a8c2
commit
b0c8b0f322
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-27 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* ext/soundtouch/gstpitch.cc:
|
||||
Cast a double to a GstClockTimeDiff to fix a compiler warning.
|
||||
|
||||
2008-01-27 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* tests/icles/metadata_editor.c:
|
||||
|
|
|
@ -204,7 +204,8 @@ gst_pitch_dispose (GObject * object)
|
|||
GstPitch *pitch = GST_PITCH (object);
|
||||
|
||||
if (pitch->priv->st) {
|
||||
delete (pitch->priv->st);
|
||||
delete pitch->priv->st;
|
||||
|
||||
pitch->priv->st = NULL;
|
||||
}
|
||||
|
||||
|
@ -809,7 +810,8 @@ gst_pitch_update_latency (GstPitch * pitch, GstClockTime timestamp)
|
|||
GstClockTimeDiff current_latency, min_latency, max_latency;
|
||||
|
||||
current_latency =
|
||||
timestamp / pitch->priv->stream_time_ratio - pitch->next_buffer_time;
|
||||
(GstClockTimeDiff) (timestamp / pitch->priv->stream_time_ratio) -
|
||||
pitch->next_buffer_time;
|
||||
|
||||
min_latency = MIN (pitch->min_latency, current_latency);
|
||||
max_latency = MAX (pitch->max_latency, current_latency);
|
||||
|
|
Loading…
Reference in a new issue