Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DISTRHO/Cardinal
/ onSampleRateChange
Function
onSampleRateChange
plugins/Cardinal/src/HostAudio.cpp:68–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
void onSampleRateChange(const SampleRateChangeEvent& e) override
69
{
70
for (int i=0; i<numIO; ++i)
71
dcFilters[i].setCutoffFreq(10.f * e.sampleTime);
72
}
73
74
void processTerminalInput(const ProcessArgs&) override
75
{
Callers
1
HostAudio.cpp
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected