Vuo
2.4.4
Loading...
Searching...
No Matches
node
vuo.video
VuoAudioFrame.h
Go to the documentation of this file.
1
10
#pragma once
11
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#include "
VuoAudioSamples.h
"
26
#include "
VuoList_VuoAudioSamples.h
"
27
#include <float.h>
28
30
#define VuoAudioFrame_NoTimestamp -INFINITY
31
35
typedef
struct
36
{
37
VuoList_VuoAudioSamples
channels;
38
VuoReal
timestamp;
39
}
VuoAudioFrame
;
40
41
#define VuoAudioFrame_SUPPORTS_COMPARISON
42
43
VuoAudioFrame
VuoAudioFrame_makeFromJson
(
struct
json_object * js);
44
struct
json_object *
VuoAudioFrame_getJson
(
const
VuoAudioFrame
value);
45
char
*
VuoAudioFrame_getSummary
(
const
VuoAudioFrame
value);
46
47
bool
VuoAudioFrame_areEqual
(
VuoAudioFrame
value1,
VuoAudioFrame
value2);
48
bool
VuoAudioFrame_isLessThan
(
const
VuoAudioFrame
a,
const
VuoAudioFrame
b);
49
50
void
VuoAudioFrame_retain
(
VuoAudioFrame
value);
51
void
VuoAudioFrame_release
(
VuoAudioFrame
value);
52
57
char
*
VuoAudioFrame_getString
(
const
VuoAudioFrame
value);
59
63
static
inline
VuoAudioFrame
VuoAudioFrame_make
(
VuoList_VuoAudioSamples
channels,
VuoReal
timestamp) __attribute__((
const
));
64
static
inline
VuoAudioFrame
VuoAudioFrame_make
(
VuoList_VuoAudioSamples
channels,
VuoReal
timestamp)
65
{
66
return
(
VuoAudioFrame
){channels, timestamp};
67
}
68
73
#ifdef __cplusplus
74
}
75
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8