Defines the format parameters that are settable when passed in with updateFormat() More...
#include <Device.h>
Public Member Functions | |
Format () | |
Format & | sampleRate (size_t sr) |
Sets the samplerate if the Format. More... | |
Format & | framesPerBlock (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... | |
Defines the format parameters that are settable when passed in with updateFormat()
cinder::audio::Device::Format::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.