Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
VuoAudioFrame

Description

A list of VuoAudioSamples (per-channel) and timestamp for one frame of audio.

of video.

Classes

struct  VuoAudioFrame
 A list of VuoAudioSamples (per-channel) and timestamp for one frame of audio. More...
 

Macros

#define VuoAudioFrame_NoTimestamp   -INFINITY
 VuoAudioFrame.timestamp's value when no timestamp is available.
 

Functions

VuoAudioFrame VuoAudioFrame_makeFromJson (struct json_object *js)
 Decodes the JSON object js to create a new value.
 
struct json_objectVuoAudioFrame_getJson (const VuoAudioFrame value)
 Encodes value as a JSON object.
 
char * VuoAudioFrame_getSummary (const VuoAudioFrame value)
 Returns a compact string representation of value.
 
bool VuoAudioFrame_areEqual (VuoAudioFrame value1, VuoAudioFrame value2)
 Returns true if the frames have matching timestamps within a tolerance of 1 millisecond.
 
static VuoAudioFrame VuoAudioFrame_make (VuoList_VuoAudioSamples channels, VuoReal timestamp) __attribute__((const ))
 Returns a new VuoAudioFrame.
 
VuoAudioFrame VuoAudioFrame_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoAudioFrame_getString (const VuoAudioFrame value)
 Automatically generated function.
 
void VuoAudioFrame_retain (VuoAudioFrame value)
 Automatically generated function.
 
void VuoAudioFrame_release (VuoAudioFrame value)
 Automatically generated function.
 

Class Documentation

struct VuoAudioFrame
Class Members
char blah[42]
Todo:
https://b33p.net/kosada/node/4124
VuoList_VuoAudioSamples channels
VuoReal timestamp

Macro Definition Documentation

#define VuoAudioFrame_NoTimestamp   -INFINITY

VuoAudioFrame.timestamp's value when no timestamp is available.

Function Documentation

bool VuoAudioFrame_areEqual ( VuoAudioFrame  value1,
VuoAudioFrame  value2 
)

Returns true if the frames have matching timestamps within a tolerance of 1 millisecond.

struct json_object* VuoAudioFrame_getJson ( const VuoAudioFrame  value)
read

Encodes value as a JSON object.

char* VuoAudioFrame_getString ( const VuoAudioFrame  value)

Automatically generated function.

char* VuoAudioFrame_getSummary ( const VuoAudioFrame  value)

Returns a compact string representation of value.

static VuoAudioFrame VuoAudioFrame_make ( VuoList_VuoAudioSamples  channels,
VuoReal  timestamp 
) const
inlinestatic

Returns a new VuoAudioFrame.

VuoAudioFrame VuoAudioFrame_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
{
"samples" : NULL,
"timestamp" : 0.0
}
VuoAudioFrame VuoAudioFrame_makeFromString ( const char *  str)

Automatically generated function.

void VuoAudioFrame_release ( VuoAudioFrame  value)

Automatically generated function.

void VuoAudioFrame_retain ( VuoAudioFrame  value)

Automatically generated function.