![]() |
Cinder
0.9.1
|
#include <Device.h>
Public Member Functions | |
Format () | |
Format & | sampleRate (size_t sr) |
Format & | framesPerBlock (size_t frames) |
size_t | getSampleRate () const |
size_t | getFramesPerBlock () const |
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.