Skip to content

Commit

Permalink
test(controlobjectaliastest): Add test for latency control alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Sep 24, 2023
1 parent ac3f186 commit 45134fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/controlobjectaliastest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ TEST_F(ControlObjectAliasTest, EngineMixer) {
auto sampleRateLegacy = ControlProxy(ConfigKey(kLegacyGroup, QStringLiteral("samplerate")));
EXPECT_DOUBLE_EQ(sampleRate.get(), sampleRateLegacy.get());

auto latency = ControlProxy(ConfigKey(kAppGroup, QStringLiteral("latency")));
auto latencyLegacy = ControlProxy(ConfigKey(kLegacyGroup, QStringLiteral("latency")));
EXPECT_DOUBLE_EQ(latency.get(), latencyLegacy.get());

auto audioLatencyUsage = ControlProxy(
ConfigKey(kAppGroup, QStringLiteral("audio_latency_usage")));
auto audioLatencyUsageLegacy = ControlProxy(
Expand Down

0 comments on commit 45134fe

Please sign in to comment.