2
#ifndef __GST_RTP_DTMF_COMMON_H__
3
#define __GST_RTP_DTMF_COMMON_H__
8
unsigned event:8; /* Current DTMF event */
9
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
10
unsigned volume:6; /* power level of the tone, in dBm0 */
11
unsigned r:1; /* Reserved-bit */
12
unsigned e:1; /* End-bit */
13
#elif G_BYTE_ORDER == G_BIG_ENDIAN
14
unsigned e:1; /* End-bit */
15
unsigned r:1; /* Reserved-bit */
16
unsigned volume:6; /* power level of the tone, in dBm0 */
18
#error "G_BYTE_ORDER should be big or little endian."
20
unsigned duration:16; /* Duration of digit, in timestamp units */
23
#endif /* __GST_RTP_DTMF_COMMON_H__ */