| 283 | } |
| 284 | |
| 285 | void Port::setBlockSize(int blockSize) { |
| 286 | if (!device) |
| 287 | return; |
| 288 | try { |
| 289 | device->setBlockSize(blockSize); |
| 290 | } |
| 291 | catch (Exception& e) { |
| 292 | WARN("Audio port could not set device block size: %s", e.what()); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | int Port::getNumInputs() { |
| 297 | if (!device) |