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

#include <MonitorNode.h>

Inherits cinder::audio::Node::Format.

Inherited by cinder::audio::MonitorSpectralNode::Format.

Public Member Functions

 Format ()
 
FormatwindowSize (size_t size)
 
size_t getWindowSize () const
 
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)
 

Protected Attributes

size_t mWindowSize
 

Constructor & Destructor Documentation

cinder::audio::MonitorNode::Format::Format ( )

Member Function Documentation

Format& cinder::audio::MonitorNode::Format::windowSize ( size_t  size)

Sets the window size, the number of samples that are recorded for one 'window' into the audio signal. Default is the Context's frames-per-block.

Note
will be rounded up to the nearest power of two.
size_t cinder::audio::MonitorNode::Format::getWindowSize ( ) const

Returns the window size.

Format& cinder::audio::MonitorNode::Format::channels ( size_t  ch)
Format& cinder::audio::MonitorNode::Format::channelMode ( ChannelMode  mode)
Format& cinder::audio::MonitorNode::Format::autoEnable ( bool  autoEnable = true)
size_t cinder::audio::Node::Format::getChannels ( ) const
inherited
ChannelMode cinder::audio::Node::Format::getChannelMode ( ) const
inherited
boost::tribool cinder::audio::Node::Format::getAutoEnable ( ) const
inherited
void cinder::audio::Node::Format::setChannels ( size_t  ch)
inherited
void cinder::audio::Node::Format::setChannelMode ( ChannelMode  mode)
inherited
void cinder::audio::Node::Format::setAutoEnable ( bool  autoEnable)
inherited

Member Data Documentation

size_t cinder::audio::MonitorNode::Format::mWindowSize
protected

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