| 168 | } |
| 169 | |
| 170 | string 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 |
nothing calls this directly
no test coverage detected