summaryrefslogtreecommitdiffstats
path: root/gst/dtmf/gstrtpdtmfcommon.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-20 17:37:43 -0500
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:07 +0100
commit8d6d58e94e0374041cb8eccd8ddac2e693b520b2 (patch)
tree59bf95f65eab5a002077c5f59775372455f03b97 /gst/dtmf/gstrtpdtmfcommon.h
parentedca624b55114cff72e0fe56ac5a5a45613ba084 (diff)
downloadgst-plugins-bad-8d6d58e94e0374041cb8eccd8ddac2e693b520b2.tar.gz
gst-plugins-bad-8d6d58e94e0374041cb8eccd8ddac2e693b520b2.tar.bz2
gst-plugins-bad-8d6d58e94e0374041cb8eccd8ddac2e693b520b2.zip
Re-indent to Gst style
Diffstat (limited to 'gst/dtmf/gstrtpdtmfcommon.h')
-rw-r--r--gst/dtmf/gstrtpdtmfcommon.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gst/dtmf/gstrtpdtmfcommon.h b/gst/dtmf/gstrtpdtmfcommon.h
index 097afa90..c1ab82e0 100644
--- a/gst/dtmf/gstrtpdtmfcommon.h
+++ b/gst/dtmf/gstrtpdtmfcommon.h
@@ -3,20 +3,21 @@
#define __GST_RTP_DTMF_COMMON_H__
-typedef struct {
- unsigned event:8; /* Current DTMF event */
+typedef struct
+{
+ unsigned event:8; /* Current DTMF event */
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
- unsigned volume:6; /* power level of the tone, in dBm0 */
- unsigned r:1; /* Reserved-bit */
- unsigned e:1; /* End-bit */
+ unsigned volume:6; /* power level of the tone, in dBm0 */
+ unsigned r:1; /* Reserved-bit */
+ unsigned e:1; /* End-bit */
#elif G_BYTE_ORDER == G_BIG_ENDIAN
- unsigned e:1; /* End-bit */
- unsigned r:1; /* Reserved-bit */
- unsigned volume:6; /* power level of the tone, in dBm0 */
+ unsigned e:1; /* End-bit */
+ unsigned r:1; /* Reserved-bit */
+ unsigned volume:6; /* power level of the tone, in dBm0 */
#else
#error "G_BYTE_ORDER should be big or little endian."
#endif
- unsigned duration:16; /* Duration of digit, in timestamp units */
+ unsigned duration:16; /* Duration of digit, in timestamp units */
} GstRTPDTMFPayload;
#endif /* __GST_RTP_DTMF_COMMON_H__ */