#include <Voice.h>
Optional parameters passed into Voice::create() methods.
cinder::audio::Voice::Options::Options |
( |
| ) |
|
Options& cinder::audio::Voice::Options::channels |
( |
size_t |
ch | ) |
|
Sets the number of channels for the Voice.
Options& cinder::audio::Voice::Options::maxFramesForBufferPlayback |
( |
size_t |
frames | ) |
|
Options& cinder::audio::Voice::Options::connectToMaster |
( |
bool |
shouldConnect | ) |
|
Sets whether the Voice's output is automatically connected to master()->getOutput().
If set to false, the user must manage the connection of its output node. Default = true, automaitically connects to master output.
size_t cinder::audio::Voice::Options::getChannels |
( |
| ) |
const |
Returns the number of configured channels.
- See also
- channels()
size_t cinder::audio::Voice::Options::getMaxFramesForBufferPlayback |
( |
| ) |
const |
bool cinder::audio::Voice::Options::getConnectToMaster |
( |
| ) |
const |
Returns whether or not the Voice will be automatically connected to master()->getOutput().
size_t cinder::audio::Voice::Options::mChannels |
|
protected |
size_t cinder::audio::Voice::Options::mMaxFramesForBufferPlayback |
|
protected |
bool cinder::audio::Voice::Options::mConnectToMaster |
|
protected |
The documentation for this struct was generated from the following file: