Miam-Player  0.8.0
A nice music player
timestamp.h File Reference
#include "common.h"

Go to the source code of this file.

Macros

#define AV_TS_MAX_STRING_SIZE   32
 
#define av_ts2str(ts)   av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)
 
#define av_ts2timestr(ts, tb)   av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb)
 

Detailed Description

timestamp utils, mostly useful for debugging/logging purposes

Macro Definition Documentation

◆ av_ts2str

#define av_ts2str (   ts)    av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)

Convenience macro, the return value should be used only directly in function arguments but never stand-alone.

◆ av_ts2timestr

#define av_ts2timestr (   ts,
  tb 
)    av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb)

Convenience macro, the return value should be used only directly in function arguments but never stand-alone.

◆ AV_TS_MAX_STRING_SIZE

#define AV_TS_MAX_STRING_SIZE   32