Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
|
#include <glib.h>
Go to the source code of this file.
Classes | |
struct | _rtp_packet |
Macros | |
#define | SAMPLE_MAX G_MAXINT16 |
#define | SAMPLE_MIN G_MININT16 |
Typedefs | |
typedef gint16 | SAMPLE |
typedef struct _rtp_packet | rtp_packet_t |
Functions | |
GHashTable * | rtp_decoder_hash_table_new (void) |
size_t | decode_rtp_packet (rtp_packet_t *rp, SAMPLE **out_buff, GHashTable *decoders_hash, unsigned *channels_ptr, unsigned *sample_rate_ptr) |
"RTP Player" dialog box common routines.
size_t decode_rtp_packet | ( | rtp_packet_t * | rp, |
SAMPLE ** | out_buff, | ||
GHashTable * | decoders_hash, | ||
unsigned * | channels_ptr, | ||
unsigned * | sample_rate_ptr | ||
) |
Decode an RTP packet
rp | Wrapper for per-packet RTP tap data. |
out_buff | Output audio samples. |
decoders_hash | Hash table created with rtp_decoder_hash_table_new. |
channels_ptr | If non-NULL, receives the number of channels in the sample. |
sample_rate_ptr | If non-NULL, receives the sample rate. |
GHashTable* rtp_decoder_hash_table_new | ( | void | ) |
Create a new hash table.