1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Removed an ancient workaround when getting the input/output latencies of an ASIO device

This commit is contained in:
ed 2019-11-26 18:52:03 +00:00
parent 7ebaac9827
commit 35023af7ff
2 changed files with 25 additions and 2 deletions

View file

@ -640,8 +640,8 @@ public:
BigInteger getActiveOutputChannels() const override { return currentChansOut; }
BigInteger getActiveInputChannels() const override { return currentChansIn; }
int getOutputLatencyInSamples() override { return outputLatency + currentBlockSizeSamples / 4; }
int getInputLatencyInSamples() override { return inputLatency + currentBlockSizeSamples / 4; }
int getOutputLatencyInSamples() override { return outputLatency; }
int getInputLatencyInSamples() override { return inputLatency; }
void start (AudioIODeviceCallback* callback) override
{