Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
cinder::audio::Device::Format Struct Reference

Defines the format parameters that are settable when passed in with updateFormat() More...

#include <Device.h>

Public Member Functions

 Format ()
 
FormatsampleRate (size_t sr)
 Sets the samplerate if the Format. More...
 
FormatframesPerBlock (size_t frames)
 Sets the frames per block if the Format (only functional on Mac). More...
 
size_t getSampleRate () const
 Returns the samplerate of the Format. More...
 
size_t getFramesPerBlock () const
 Returns the frames per block of the Format. More...
 

Detailed Description

Defines the format parameters that are settable when passed in with updateFormat()

Constructor & Destructor Documentation

cinder::audio::Device::Format::Format ( )

Member Function Documentation

Format& cinder::audio::Device::Format::sampleRate ( size_t  sr)

Sets the samplerate if the Format.

Format& cinder::audio::Device::Format::framesPerBlock ( size_t  frames)

Sets the frames per block if the Format (only functional on Mac).

size_t cinder::audio::Device::Format::getSampleRate ( ) const

Returns the samplerate of the Format.

size_t cinder::audio::Device::Format::getFramesPerBlock ( ) const

Returns the frames per block of the Format.


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