mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Use guint64 instead of guint for storing guint64
This commit is contained in:
parent
9218eae98b
commit
be3674c516
1 changed files with 2 additions and 3 deletions
|
@ -187,7 +187,7 @@ gst_audio_echo_set_property (GObject * object, guint prop_id,
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_DELAY:{
|
case PROP_DELAY:{
|
||||||
guint max_delay, delay;
|
guint64 max_delay, delay;
|
||||||
|
|
||||||
GST_BASE_TRANSFORM_LOCK (self);
|
GST_BASE_TRANSFORM_LOCK (self);
|
||||||
delay = g_value_get_uint64 (value);
|
delay = g_value_get_uint64 (value);
|
||||||
|
@ -206,7 +206,7 @@ gst_audio_echo_set_property (GObject * object, guint prop_id,
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PROP_MAX_DELAY:{
|
case PROP_MAX_DELAY:{
|
||||||
guint max_delay, delay;
|
guint64 max_delay, delay;
|
||||||
|
|
||||||
GST_BASE_TRANSFORM_LOCK (self);
|
GST_BASE_TRANSFORM_LOCK (self);
|
||||||
max_delay = g_value_get_uint64 (value);
|
max_delay = g_value_get_uint64 (value);
|
||||||
|
@ -366,7 +366,6 @@ gst_audio_echo_transform_ip (GstBaseTransform * base, GstBuffer * buf)
|
||||||
if (self->buffer == NULL) {
|
if (self->buffer == NULL) {
|
||||||
guint width, rate, channels;
|
guint width, rate, channels;
|
||||||
|
|
||||||
|
|
||||||
width = GST_AUDIO_FILTER (self)->format.width / 8;
|
width = GST_AUDIO_FILTER (self)->format.width / 8;
|
||||||
rate = GST_AUDIO_FILTER (self)->format.rate;
|
rate = GST_AUDIO_FILTER (self)->format.rate;
|
||||||
channels = GST_AUDIO_FILTER (self)->format.channels;
|
channels = GST_AUDIO_FILTER (self)->format.channels;
|
||||||
|
|
Loading…
Reference in a new issue