Vuo 2.4.4
Loading...
Searching...
No Matches
VuoAudioFrame.h
Go to the documentation of this file.
1
10#pragma once
11
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "VuoAudioSamples.h"
27#include <float.h>
28
30#define VuoAudioFrame_NoTimestamp -INFINITY
31
35typedef struct
36{
38 VuoReal timestamp;
40
41#define VuoAudioFrame_SUPPORTS_COMPARISON
42
43VuoAudioFrame VuoAudioFrame_makeFromJson(struct json_object * js);
44struct json_object * VuoAudioFrame_getJson(const VuoAudioFrame value);
45char * VuoAudioFrame_getSummary(const VuoAudioFrame value);
46
49
52
59
63static inline VuoAudioFrame VuoAudioFrame_make(VuoList_VuoAudioSamples channels, VuoReal timestamp) __attribute__((const));
65{
66 return (VuoAudioFrame){channels, timestamp};
67}
68
73#ifdef __cplusplus
74}
75#endif