1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -05:00

FunCube: fix audio device names for Windows AND Mac

This commit is contained in:
f4exb 2022-06-01 11:28:23 +02:00
parent b5ad1b27f5
commit 2c7b8374d6

View File

@ -20,12 +20,12 @@
const char *fcd_traits<Pro>::alsaDeviceName = "hw:CARD=V10";
const char *fcd_traits<ProPlus>::alsaDeviceName = "hw:CARD=V20";
#if defined(_WIN32)
const char *fcd_traits<Pro>::qtDeviceName = "FUNcube Dongle V1.0";
const char *fcd_traits<ProPlus>::qtDeviceName = "FUNcube Dongle V2.0";
#else
#if defined(__linux__)
const char *fcd_traits<Pro>::qtDeviceName = "FUNcube_Dongle_V1.0";
const char *fcd_traits<ProPlus>::qtDeviceName = "FUNcube_Dongle_V2.0";
#else
const char *fcd_traits<Pro>::qtDeviceName = "FUNcube Dongle V1.0";
const char *fcd_traits<ProPlus>::qtDeviceName = "FUNcube Dongle V2.0";
#endif
const char *fcd_traits<Pro>::hardwareID = "FCDPro";