Skip to content

Commit b28033f

Browse files
author
melodieborel
committed
Fix PSTH sample rate
This affected the timescale (and most likely the computation) of PSTH display
1 parent 770b1fa commit b28033f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Plugins/EvntTrigAvg/EvntTrigAvg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ AudioProcessorEditor* EvntTrigAvg::createEditor()
290290

291291
float EvntTrigAvg::getSampleRate()
292292
{
293-
return juce::AudioProcessor::getSampleRate();
293+
return CoreServices::getGlobalSampleRate();
294294
}
295295

296296
int EvntTrigAvg::getLastTTLCalculated()

0 commit comments

Comments
 (0)