Vuo  2.0.0
VuoAudioFrame.h
Go to the documentation of this file.
1 
10 #pragma once
11 
21 #include "VuoAudioSamples.h"
23 #include <float.h>
24 
26 #define VuoAudioFrame_NoTimestamp -INFINITY
27 
31 typedef struct
32 {
33  VuoList_VuoAudioSamples channels;
34  VuoReal timestamp;
35 
36  char blah[42];
37 
39 
41 struct json_object * VuoAudioFrame_getJson(const VuoAudioFrame value);
42 char * VuoAudioFrame_getSummary(const VuoAudioFrame value);
43 
45 #define VuoAudioFrame_SUPPORTS_COMPARISON
48 
54 char * VuoAudioFrame_getString(const VuoAudioFrame value);
58 
62 static inline VuoAudioFrame VuoAudioFrame_make(VuoList_VuoAudioSamples channels, VuoReal timestamp) __attribute__((const));
64 {
65  VuoAudioFrame audioFrame = { channels, timestamp, "" };
66  return audioFrame;
67 }
68