Vuo
2.0.0
|
Information about an audio output device.
Classes | |
struct | VuoAudioOutputDevice |
Information about an audio ouput device. More... | |
Functions | |
VuoAudioOutputDevice | VuoAudioOutputDevice_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoAudioOutputDevice_getJson (const VuoAudioOutputDevice value) |
Encodes value as a JSON object. More... | |
char * | VuoAudioOutputDevice_getSummary (const VuoAudioOutputDevice value) |
Returns a compact string representation of value . More... | |
bool | VuoAudioOutputDevice_areEqual (VuoAudioOutputDevice value1, VuoAudioOutputDevice value2) |
Returns true if the two audio output device specifications are identical. More... | |
bool | VuoAudioOutputDevice_isLessThan (const VuoAudioOutputDevice a, const VuoAudioOutputDevice b) |
Returns true if the id of a is less than the id of b . More... | |
static VuoAudioOutputDevice | VuoAudioOutputDevice_make (VuoInteger id, VuoText modelUid, VuoText name, VuoInteger channelCount) __attribute__((const)) |
Returns an audio output device with the specified values. More... | |
VuoAudioOutputDevice | VuoAudioOutputDevice_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoAudioOutputDevice_getString (const VuoAudioOutputDevice value) |
Automatically generated function. More... | |
void | VuoAudioOutputDevice_retain (VuoAudioOutputDevice value) |
Automatically generated function. More... | |
void | VuoAudioOutputDevice_release (VuoAudioOutputDevice value) |
Automatically generated function. More... | |
struct VuoAudioOutputDevice |
Class Members | ||
---|---|---|
VuoInteger | channelCount | The number of output channels on this device. <= 0 if unknown. |
VuoInteger | id |
If id is non-negative, use the specified device identifier. |
VuoText | modelUid |
If id is negative, use the first device whose modelUid contains modelUid . |
VuoText | name |
If id is negative and modelUid is empty, use the first device whose name matches name . This is a localized display name, so its value will differ depending on the currently-selected system language. |
bool VuoAudioOutputDevice_areEqual | ( | VuoAudioOutputDevice | value1, |
VuoAudioOutputDevice | value2 | ||
) |
Returns true if the two audio output device specifications are identical.
Definition at line 118 of file VuoAudioOutputDevice.c.
struct json_object* VuoAudioOutputDevice_getJson | ( | const VuoAudioOutputDevice | value | ) |
Encodes value
as a JSON object.
Definition at line 52 of file VuoAudioOutputDevice.c.
char* VuoAudioOutputDevice_getString | ( | const VuoAudioOutputDevice | value | ) |
Automatically generated function.
char* VuoAudioOutputDevice_getSummary | ( | const VuoAudioOutputDevice | value | ) |
Returns a compact string representation of value
.
Definition at line 86 of file VuoAudioOutputDevice.c.
bool VuoAudioOutputDevice_isLessThan | ( | const VuoAudioOutputDevice | a, |
const VuoAudioOutputDevice | b | ||
) |
Returns true if the id of a
is less than the id of b
.
Definition at line 130 of file VuoAudioOutputDevice.c.
|
inlinestatic |
Returns an audio output device with the specified values.
Definition at line 57 of file VuoAudioOutputDevice.h.
VuoAudioOutputDevice VuoAudioOutputDevice_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 39 of file VuoAudioOutputDevice.c.
VuoAudioOutputDevice VuoAudioOutputDevice_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoAudioOutputDevice_release | ( | VuoAudioOutputDevice | value | ) |
Automatically generated function.
void VuoAudioOutputDevice_retain | ( | VuoAudioOutputDevice | value | ) |
Automatically generated function.