| 259 | } |
| 260 | |
| 261 | std::set<int> Port::getBlockSizes() { |
| 262 | if (!device) |
| 263 | return {}; |
| 264 | try { |
| 265 | return device->getBlockSizes(); |
| 266 | } |
| 267 | catch (Exception& e) { |
| 268 | WARN("Audio port could not get device block sizes: %s", e.what()); |
| 269 | return {}; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | int Port::getBlockSize() { |
| 274 | if (!device) |
no test coverage detected