Selaa lähdekoodia

win-wasapi: Mark GetWASAPIAudioDevices_ as static

jpark37 4 vuotta sitten
vanhempi
sitoutus
5f2d0456bc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      plugins/win-wasapi/enum-wasapi.cpp

+ 1 - 1
plugins/win-wasapi/enum-wasapi.cpp

@@ -36,7 +36,7 @@ string GetDeviceName(IMMDevice *device)
 	return device_name;
 	return device_name;
 }
 }
 
 
-void GetWASAPIAudioDevices_(vector<AudioDeviceInfo> &devices, bool input)
+static void GetWASAPIAudioDevices_(vector<AudioDeviceInfo> &devices, bool input)
 {
 {
 	ComPtr<IMMDeviceEnumerator> enumerator;
 	ComPtr<IMMDeviceEnumerator> enumerator;
 	ComPtr<IMMDeviceCollection> collection;
 	ComPtr<IMMDeviceCollection> collection;