MCPcopy Create free account
hub / github.com/cinder/Cinder / printDevicesToString

Method printDevicesToString

src/cinder/audio/Device.cpp:170–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170string Device::printDevicesToString()
171{
172 stringstream stream;
173
174 for( auto &device : getDevices() ) {
175 stream << "-- " << device->getName() << " --" << endl;
176 stream << "\t key: " << device->getKey() << endl;
177 stream << "\t inputs: " << device->getNumInputChannels() << ", outputs: " << device->getNumOutputChannels() << endl;
178 stream << "\t samplerate: " << device->getSampleRate() << ", frames per block: " << device->getFramesPerBlock() << endl;
179 }
180
181 return stream.str();
182}
183
184// ----------------------------------------------------------------------------------------------------
185// DeviceManager

Callers

nothing calls this directly

Calls 7

getKeyMethod · 0.80
getNameMethod · 0.45
getNumInputChannelsMethod · 0.45
getNumOutputChannelsMethod · 0.45
getSampleRateMethod · 0.45
getFramesPerBlockMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected