diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-08-08 17:40:34 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-08-08 17:41:42 +0200 |
commit | abfa30a42b50231ba888e2779d194784cff5b6f8 (patch) | |
tree | a1318adadb1f8961993ad47df34fb6ea41c74185 | |
parent | 880359f32b78ed5ddcd4f6ef3f73adcaac2b0d43 (diff) |
gst: Set alignment at the correct place of GstAllocationParams
-rw-r--r-- | gst/dtmf/gstdtmfsrc.c | 2 | ||||
-rw-r--r-- | gst/dtmf/gstrtpdtmfdepay.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 811cc03f3..2b3310e6f 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -562,7 +562,7 @@ gst_dtmf_src_generate_tone (GstDTMFSrcEvent * event, DTMF_KEY key, double i = 0; double amplitude, f1, f2; double volume_factor; - static GstAllocationParams params = { 0, 0, 0, 1, }; + static GstAllocationParams params = { 0, 1, 0, 0, }; /* Create a buffer for the tone */ tone_size = ((duration / 1000) * sample_rate * SAMPLE_SIZE * CHANNELS) / 8; diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index 1bea46559..634948537 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -342,7 +342,7 @@ gst_dtmf_src_generate_tone (GstRtpDTMFDepay * rtpdtmfdepay, guint32 clock_rate = 8000 /* default */ ; GstRTPBaseDepayload *depayload = GST_RTP_BASE_DEPAYLOAD (rtpdtmfdepay); gint volume; - static GstAllocationParams params = { 0, 0, 0, 1, }; + static GstAllocationParams params = { 0, 1, 0, 0, }; clock_rate = depayload->clock_rate; |