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

Method getSampleRates

include/audio.hpp:94–96  ·  view source on GitHub ↗

Returns a list of all valid (user-selectable) sample rates. The device may accept sample rates not in this list, but it *must* accept sample rates in the list. */

Source from the content-addressed store, hash-verified

92 The device may accept sample rates not in this list, but it *must* accept sample rates in the list.
93 */
94 virtual std::set<float> getSampleRates() {
95 return {};
96 }
97 /** Returns the current sample rate. */
98 virtual float getSampleRate() {
99 return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected