aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2020-12-08 14:13:32 +0100
committerPaul Adenot <[email protected]>2021-01-19 16:05:14 +0100
commit4a83932caee16c9ee404b39144620fcbcc7a842f (patch)
treed8784ba3f5c05d967ae4bb873d1e48c7a780e98b
parented90311f10f54badd953833db1032e0183949210 (diff)
downloadcubeb-4a83932caee16c9ee404b39144620fcbcc7a842f.tar.gz
cubeb-4a83932caee16c9ee404b39144620fcbcc7a842f.zip
Remove a static keyword to remove a warning.
-rw-r--r--src/cubeb_wasapi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp
index 6110ac0..b7b337c 100644
--- a/src/cubeb_wasapi.cpp
+++ b/src/cubeb_wasapi.cpp
@@ -1828,7 +1828,8 @@ initialize_iaudioclient2(com_ptr<IAudioClient> & audio_client)
return CUBEB_OK;
}
-static bool
+// Not static to suppress a warning.
+/* static */ bool
initialize_iaudioclient3(com_ptr<IAudioClient> & audio_client,
cubeb_stream * stm,
const com_heap_ptr<WAVEFORMATEX> & mix_format,