From f3915423b60dc0c8bd7303480740a80e8d690e71 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 1 Jan 2022 21:20:13 +1000 Subject: [PATCH] Update the Steam Audio example. --- examples/engine_steamaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/engine_steamaudio.c b/examples/engine_steamaudio.c index a9fc1d4f..01305d06 100644 --- a/examples/engine_steamaudio.c +++ b/examples/engine_steamaudio.c @@ -295,7 +295,7 @@ int main(int argc, char** argv) need not be exposed to the public API. There should be no need for the public API to require a fixed sized update. */ - iplAudioSettings.frameSize = g_engine.pDevice->playback.internalPeriodSizeInFrames; + iplAudioSettings.frameSize = engineConfig.periodSizeInFrames; /* IPLContext */