Real Time Open Sound Control librtosc
Loading...
Searching...
No Matches
rtosc-time.h File Reference

Functions and helper functions for conversion between time and arg vals. More...

#include <stdint.h>
#include <time.h>
#include <rtosc/rtosc.h>

Go to the source code of this file.

Functions

rtosc_arg_val_trtosc_arg_val_from_time_t (rtosc_arg_val_t *dest, time_t time, uint64_t secfracs)
rtosc_arg_val_trtosc_arg_val_from_params (rtosc_arg_val_t *dest, struct tm *m_tm, uint64_t secfracs)
rtosc_arg_val_trtosc_arg_val_current_time (rtosc_arg_val_t *dest)
rtosc_arg_val_trtosc_arg_val_immediatelly (rtosc_arg_val_t *dest)
uint64_t rtosc_float2secfracs (float secfracsf)
time_t rtosct_time_t_from_arg_val (const rtosc_arg_val_t *arg)
struct tm * rtosct_params_from_arg_val (const rtosc_arg_val_t *arg)
uint64_t rtosct_secfracs_from_arg_val (const rtosc_arg_val_t *arg)
bool rtosc_arg_val_is_immediatelly (const rtosc_arg_val_t *arg)
float rtosc_secfracs2float (uint64_t secfracs)

Detailed Description

Functions and helper functions for conversion between time and arg vals.