MCPcopy Create free account
hub / github.com/VCVRack/Rack / getSampleRates

Method getSampleRates

src/audio.cpp:226–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226std::set<float> Port::getSampleRates() {
227 if (!device)
228 return {};
229 try {
230 return device->getSampleRates();
231 }
232 catch (Exception& e) {
233 WARN("Audio port could not get device sample rates: %s", e.what());
234 return {};
235 }
236}
237
238float Port::getSampleRate() {
239 if (!device)

Callers 1

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected