Cinder  0.9.1
Public Member Functions | List of all members
cinder::audio::Node::Format Struct Reference

#include <Node.h>

Inherited by cinder::audio::MonitorNode::Format.

Public Member Functions

 Format ()
 
Formatchannels (size_t ch)
 
FormatchannelMode (ChannelMode mode)
 
FormatautoEnable (bool autoEnable=true)
 
size_t getChannels () const
 
ChannelMode getChannelMode () const
 
boost::tribool getAutoEnable () const
 
void setChannels (size_t ch)
 
void setChannelMode (ChannelMode mode)
 
void setAutoEnable (bool autoEnable)
 

Constructor & Destructor Documentation

cinder::audio::Node::Format::Format ( )

Member Function Documentation

Format& cinder::audio::Node::Format::channels ( size_t  ch)

Sets the number of channels for the Node.

Format& cinder::audio::Node::Format::channelMode ( ChannelMode  mode)

Controls how channels will be matched between connected Node's, if necessary.

See also
ChannelMode.
Format& cinder::audio::Node::Format::autoEnable ( bool  autoEnable = true)

Whether or not the Node will be auto-enabled when connection changes occur. Default is true for base Node class, although sub-classes may choose a different default.

size_t cinder::audio::Node::Format::getChannels ( ) const
ChannelMode cinder::audio::Node::Format::getChannelMode ( ) const
boost::tribool cinder::audio::Node::Format::getAutoEnable ( ) const
void cinder::audio::Node::Format::setChannels ( size_t  ch)
void cinder::audio::Node::Format::setChannelMode ( ChannelMode  mode)
void cinder::audio::Node::Format::setAutoEnable ( bool  autoEnable)

The documentation for this struct was generated from the following file: