1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

FunCube: fixed audio device name for Windows

This commit is contained in:
f4exb 2022-06-01 01:13:30 +02:00
parent 3abbf4aeba
commit b5ad1b27f5

View File

@ -20,8 +20,13 @@
const char *fcd_traits<Pro>::alsaDeviceName = "hw:CARD=V10"; const char *fcd_traits<Pro>::alsaDeviceName = "hw:CARD=V10";
const char *fcd_traits<ProPlus>::alsaDeviceName = "hw:CARD=V20"; 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
const char *fcd_traits<Pro>::qtDeviceName = "FUNcube_Dongle_V1.0"; const char *fcd_traits<Pro>::qtDeviceName = "FUNcube_Dongle_V1.0";
const char *fcd_traits<ProPlus>::qtDeviceName = "FUNcube_Dongle_V2.0"; const char *fcd_traits<ProPlus>::qtDeviceName = "FUNcube_Dongle_V2.0";
#endif
const char *fcd_traits<Pro>::hardwareID = "FCDPro"; const char *fcd_traits<Pro>::hardwareID = "FCDPro";
const char *fcd_traits<ProPlus>::hardwareID = "FCDPro+"; const char *fcd_traits<ProPlus>::hardwareID = "FCDPro+";