summaryrefslogtreecommitdiff
path: root/src/audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.cpp')
-rw-r--r--src/audio.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/audio.cpp b/src/audio.cpp
index 002d1be..c3f152e 100644
--- a/src/audio.cpp
+++ b/src/audio.cpp
@@ -17,7 +17,13 @@ void pke_audio_teardown() {
pke_audio_pw_teardown();
#endif
}
-void pke_audio_tick() {
+void pke_audio_tick(double delta) {
+ (void)delta;
+#ifdef PKE_AUDIO_IMPL_PIPEWIRE
+ if (pke_audio_pw.is_needing_output_remapped == true) {
+ pke_audio_pw.is_needing_output_remapped = !pke_audio_pw_remap_outputs();
+ }
+#endif
}
float pke_audio_get_volume(pke_audio_source source) {