![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <cstdint>

Go to the source code of this file.
Functions | |
| double | ug_drand (void) |
| uint32_t | ug_rand (void) |
| void | ug_rand_init (void) |
Definition in file random.h.
| double ug_drand | ( | void | ) |
Behaves similarly to drand48()
uses only 2^32 values from the interval (drand48 may use 48 bits)
Definition at line 111 of file random.c.
References ug_rand().
Referenced by filter(), and rtcp_interval().

| uint32_t ug_rand | ( | void | ) |
Definition at line 88 of file random.c.
Referenced by get_std_audio_local_mediatime(), get_std_video_local_mediatime(), init_first(), rtp_init_if(), rtp_init_with_udp_socket(), rtp_send_bye_now(), send_rtcp(), tx_init(), and ug_drand().
| void ug_rand_init | ( | void | ) |
Definition at line 64 of file random.c.
References get_time_in_ns().
Referenced by common_preinit().
