From 28190a06ae41dba620f58220622e9c3d05ada6ee Mon Sep 17 00:00:00 2001 From: Oscar Steila Date: Mon, 21 Dec 2015 12:10:24 +0100 Subject: [PATCH] ver 0.13 - Italian Sound Device labels added --- docs/H101.jpg | Bin 0 -> 12411 bytes src/ExtIO_H101.cpp | 6 +++--- src/SoundUti.cpp | 16 ++++++++++++---- src/resource.h | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 docs/H101.jpg diff --git a/docs/H101.jpg b/docs/H101.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cdbf07237ea532d98849246eff9f90f5d764615d GIT binary patch literal 12411 zcmbVy1yqz@_wGBx&^7dcfHTC3CEX(34U(dilr+*H-5mlFiZFl*h;$<@DIq0! zM}OZx*8kqS)_3oI*Lz~`ea?C2#B=7HncL~xB><`{uOttEz#u>o{Q$RnSb`dMu3oO5 zcCK!4zI)t&ptO=2#vbrTpn$?{697g(|BCB4*$c4|F4GYzchc_MQ70h z{uc`H-yGym_}7a2Cxt164*nnsLcf0KBszYJeleK=7y!EcKlRBCz#?z&WDWQ6u=nz^ zc7a>?!KJKREv(`H*;8fk2k5T4{Rt5LH2_xV3elC#0bu|E4h{}34goGM0SP`HJ_!Xe z0Rb@ujEszej0{FX@K^p7{ge5hA&3wkpOAKlX3n0Nk zf6^cf5CZ@v0b!7UZWjOufOCriNuW_;g8m8`@E^fI&jko37B&tp9zN)Q8bJUU<3Eg0 z00aSHfFWQ^Y%Cm13<5s1kpu&RAmzc7(ljSya1Z9iB2Ub(mu6(5(E4b>_rN1$LN6#c+$GQX zzVO@iio^Byko)JQJ90aZZ+PA}P)oSFxyQ;M_WSVHxW4;SuyK!&PO^zepn-8&B zr$m|tf+Z$r@RO7fhpHjNjRP~)f$7Kk^9RqDF2u}k0oZp#41D8kV?HE*?qd4IlSz#i z=iL{hheX@W@q~HA7pe6gpBcnCxFiZa`r20xmOtcfXsjI&=81P5ukM^p+5smjiuNp< zQB%K_?_FGSMHv%UzQO6 za=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tYkPnmN^j4zKIPBM86m?>Bl8a| zyM2tnHGq{c!-$A2jk%&nQf8*_L>?Qz3L)wCw$MT3y?z+5PD)?%`XWlIp*`%YCSQpr zf}+VXG1PE?BFLY#J^HM@UMnMBJ_XSEY2VyfQid4SPuCr&oj1{W+1ytk4C_NaaZ>m7 z8u+uW3BvFl6Ba{W*eVA)z1;-L(x>PnvkPo+CmAfIe<|jl8Mw*ALMaeEM*WsPs-y)@ zSojnR??jR*d~J+gq@gz{s^24nHn#R!99Iv1KfXT(hs4MFtk-^dd$MFSj$8WkE6*12 zP?ij~#L_gf6ZMYmCd1; z(l97NY1qokljM$}68G>oM%E~czz~QQZ?@`>wRAHJ+u~V9q6N~uP%(|6Du<{!@iN+v zN<3niS#YEow*xI!fR(dxL+)arV?yvR4511Ai7j3IkQjHOO|c;D|1uV@nc< zaJ&h&^Ta|_cDOrF8*lLGM`sPjyZ5uTcq1H9Ay~a)n?0;}p&&qDGdh`MhJpv~&zRvf z8N=4vq0`Tc+FDVp@PO}0$@1sLhQ|9u^NbA0G(3#=hY-sSDuaZ6howMb-3q=WNS-D0 z>y4bE!lTm!GhoXlH3gYp@>eW8QEJQr&))T2tD=3)?q}N>7N|?BgColxW`P9X5!b9!&2iE2V=;5ejWb c5rjSZDrA?NFfa)Ci>|ZM;rg}uN!-r-FX$G(00000 literal 0 HcmV?d00001 diff --git a/src/ExtIO_H101.cpp b/src/ExtIO_H101.cpp index 4483df7..6ee9edd 100644 --- a/src/ExtIO_H101.cpp +++ b/src/ExtIO_H101.cpp @@ -346,13 +346,13 @@ bool LIBRTL_API __stdcall OpenHW() TCHAR tstro[MAXTCHAR]; ComboBox_GetText((GetDlgItem(h_dialog, IDC_AUDIOIN)), tstri, sizeof(tstri) / sizeof(TCHAR)); ComboBox_GetText((GetDlgItem(h_dialog, IDC_AUDIOOUT)), tstro, sizeof(tstro) / sizeof(TCHAR)); - if ((_tcsstr(tstri, TEXT("Microphone")) == NULL) || + if (((_tcsstr(tstri, TEXT("Microphone")) == NULL) && (_tcsstr(tstri, TEXT("Microfono")) == NULL)) || (_tcsstr(tstri, TEXT("USB Audio CODEC")) == NULL) || - (_tcsstr(tstro, TEXT("Speakers")) == NULL) || + ((_tcsstr(tstro, TEXT("Speakers")) == NULL) && (_tcsstr(tstro, TEXT("Altoparlanti")) == NULL))|| (_tcsstr(tstro, TEXT("USB Audio CODEC")) == NULL)) { MessageBox(NULL, -TEXT("Is H101 connected ? \nplease verify and press ok to exit\n\nH101 sound devices are: \nMicrophone (USB Audio CODEC)\nSpeakers (USB Audio CODEC)"), +TEXT("Is H101 connected ? \nplease verify and press ok to exit\n\nH101 sound devices are: \nMicrophone (USB Audio CODEC) o Microfono (USB Audio CODEC)\nSpeakers (USB Audio CODEC) o Altoparlanti (USB Audio CODEC)"), TEXT("Duplex USB audio device not found"), MB_ICONQUESTION); ExitProcess(0); // restart required } diff --git a/src/SoundUti.cpp b/src/SoundUti.cpp index 2cdffb2..df4a70f 100644 --- a/src/SoundUti.cpp +++ b/src/SoundUti.cpp @@ -247,10 +247,14 @@ void CloseSoundConfig() HWND hw; hw = FindWindow(NULL, TEXT("Proprietà - Microphone")); if (hw != NULL) CloseWindow(hw); + hw = FindWindow(NULL, TEXT("Proprietà - Microfono")); + if (hw != NULL) CloseWindow(hw); hw = FindWindow(NULL, TEXT("Microphone properties")); if (hw != NULL) CloseWindow(hw); hw = FindWindow(NULL, TEXT("Proprietà - Speakers")); if (hw != NULL) CloseWindow(hw); + hw = FindWindow(NULL, TEXT("Proprietà - Altoparlanti")); + if (hw != NULL) CloseWindow(hw); hw = FindWindow(NULL, TEXT("Speakers properties")); if (hw != NULL) CloseWindow(hw); hw = FindWindow(NULL, TEXT("Audio")); @@ -303,7 +307,7 @@ int Soundsetup(TCHAR * name) if (hlistview == NULL) return -3; // no audio program - if ((_tcsstr(name, TEXT("Microphone")) == NULL) || + if (((_tcsstr(name, TEXT("Microphone")) == NULL) && (_tcsstr(name, TEXT("Microfono")) == NULL))|| (_tcsstr(name, TEXT("USB Audio CODEC")) == NULL)) return -8; @@ -338,7 +342,7 @@ int Soundsetup(TCHAR * name) ReadProcessMemory(process, _item, item, 512, NULL); ReadProcessMemory(process, _subitem, subitem, 512, NULL); - if ((_tcsstr(TEXT("Microphone "), item) != NULL) && + if (((_tcsstr(TEXT("Microphone "), item) != NULL) || (_tcsstr(TEXT("Microfono "), item) != NULL)) && (_tcsstr(TEXT("USB Audio CODEC "), subitem) != NULL)) mikedevice = i; _tprintf(TEXT("%s %s\n"), item, subitem); @@ -373,6 +377,8 @@ int Soundsetup(TCHAR * name) Sleep(300); hRecDevice = FindWindow(NULL, TEXT("Proprietà - Microphone")); if (hRecDevice != NULL) break; + hRecDevice = FindWindow(NULL, TEXT("Proprietà - Microfono")); + if (hRecDevice != NULL) break; hRecDevice = FindWindow(NULL, TEXT("Microphone properties")); if (hRecDevice != NULL) break; retry--; @@ -465,7 +471,7 @@ int SoundPlaySetup(TCHAR * name) if (hlistview == NULL) return -3; // no audio program - if ((_tcsstr(name, TEXT("Speakers")) == NULL) || + if (((_tcsstr(name, TEXT("Speakers")) == NULL) && (_tcsstr(name, TEXT("Altoparlanti")) == NULL)) || (_tcsstr(name, TEXT("USB Audio CODEC")) == NULL)) return -8; @@ -500,7 +506,7 @@ int SoundPlaySetup(TCHAR * name) ReadProcessMemory(process, _item, item, 512, NULL); ReadProcessMemory(process, _subitem, subitem, 512, NULL); - if ((_tcsstr(TEXT("Speakers "), item) != NULL) && + if (((_tcsstr(TEXT("Speakers "), item) != NULL) || (_tcsstr(TEXT("Altoparlanti "), item) != NULL)) && (_tcsstr(TEXT("USB Audio CODEC "), subitem) != NULL)) { spkrsdevice = i; @@ -538,6 +544,8 @@ int SoundPlaySetup(TCHAR * name) Sleep(300); hRecDevice = FindWindow(NULL, TEXT("Proprietà - Speakers")); if (hRecDevice != NULL) break; + hRecDevice = FindWindow(NULL, TEXT("Proprietà - Altoparlanti")); + if (hRecDevice != NULL) break; hRecDevice = FindWindow(NULL, TEXT("Speakers properties")); if (hRecDevice != NULL) break; retry--; diff --git a/src/resource.h b/src/resource.h index 86f8750..1496c13 100644 --- a/src/resource.h +++ b/src/resource.h @@ -2,7 +2,7 @@ #define IDC_STATIC (-1) #endif -#define VERSION "ExtIO_H101.dll ver 0.12" +#define VERSION "ExtIO_H101.dll ver 0.13" #define IDD_RTL_SETTINGS 100 #define IDC_SAMPLERATE 1000