npv:_reasonable_ "pedanticage" of the code
[nyanmp.git] / npv / clk / main.c
blobaeeccfb6609cac560754f128d98ea3c3dbf639a8
1 #ifndef NPV_CLK_MAIN_C
2 #define NPV_CLK_MAIN_C
3 /*
4 * code protected with a GNU affero GPLv3 license
5 * copyright (C) 2020 Sylvain BERTRAND
6 */
7 /*---------------------------------------------------------------------------*/
8 #include <string.h>
9 #include <pthread.h>
10 #include <stdarg.h>
11 #include <alsa/asoundlib.h>
12 #include <libavformat/avformat.h>
13 #include "npv/c_fixing.h"
14 #include "npv/audio/public.h"
15 #include "npv/video/public.h"
16 /*---------------------------------------------------------------------------*/
17 #include "npv/namespace/alsa.h"
18 #include "npv/namespace/ffmpeg.h"
19 /*---------------------------------------------------------------------------*/
20 #define TS_RETURNED 0
21 /*---------------------------------------------------------------------------*/
22 #include "npv/clk/local/state.frag.c"
23 #include "npv/clk/local/code.frag.c"
24 #include "npv/clk/public/code.frag.c"
25 /*---------------------------------------------------------------------------*/
26 #undef TS_RETURNED
27 /*---------------------------------------------------------------------------*/
28 #define CLEANUP
29 #include "npv/namespace/alsa.h"
30 #include "npv/namespace/ffmpeg.h"
31 #undef CLEANUP
32 #endif