mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-11-04 02:39:11 +01:00 
			
		
		
		
	switched pothos version
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/build_all.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build_all.yml
									
									
									
									
										vendored
									
									
								
							@@ -17,7 +17,7 @@ jobs:
 | 
			
		||||
          run: cmake -E make_directory ${{runner.workspace}}/build
 | 
			
		||||
 | 
			
		||||
        - name: Download PothosSDR
 | 
			
		||||
          run: Invoke-WebRequest -Uri "https://downloads.myriadrf.org/builds/PothosSDR/PothosSDR-2021.02.28-vc16-x64.exe" -OutFile ${{runner.workspace}}/pothos.exe
 | 
			
		||||
          run: Invoke-WebRequest -Uri "https://downloads.myriadrf.org/builds/PothosSDR/PothosSDR-2020.01.26-vc14-x64.exe" -OutFile ${{runner.workspace}}/pothos.exe
 | 
			
		||||
 | 
			
		||||
        - name: Install PothosSDR
 | 
			
		||||
          run: mkdir "C:/Program Files/PothosSDR" ; 7z x ${{runner.workspace}}/pothos.exe -o"C:/Program Files/PothosSDR/"
 | 
			
		||||
 
 | 
			
		||||
@@ -183,11 +183,11 @@ private:
 | 
			
		||||
        if (_this->running) { style::beginDisabled(); }
 | 
			
		||||
 | 
			
		||||
        ImGui::SetNextItemWidth(menuWidth);
 | 
			
		||||
        if (ImGui::Combo(CONCAT("##_airspyhf_dev_sel_", _this->name), &_this->devId, _this->devListTxt.c_str())) {
 | 
			
		||||
        if (ImGui::Combo(CONCAT("##_sddc_dev_sel_", _this->name), &_this->devId, _this->devListTxt.c_str())) {
 | 
			
		||||
            // Select here
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (ImGui::Combo(CONCAT("##_airspyhf_sr_sel_", _this->name), &_this->srId, _this->sampleRateListTxt.c_str())) {
 | 
			
		||||
        if (ImGui::Combo(CONCAT("##_sddc_sr_sel_", _this->name), &_this->srId, _this->sampleRateListTxt.c_str())) {
 | 
			
		||||
            _this->sampleRate = _this->sampleRateList[_this->srId];
 | 
			
		||||
            core::setInputSampleRate(_this->sampleRate);
 | 
			
		||||
            // Select SR here
 | 
			
		||||
@@ -195,7 +195,7 @@ private:
 | 
			
		||||
 | 
			
		||||
        ImGui::SameLine();
 | 
			
		||||
        float refreshBtnWdith = menuWidth - ImGui::GetCursorPosX();
 | 
			
		||||
        if (ImGui::Button(CONCAT("Refresh##_airspyhf_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) {
 | 
			
		||||
        if (ImGui::Button(CONCAT("Refresh##_sddc_refr_", _this->name), ImVec2(refreshBtnWdith, 0))) {
 | 
			
		||||
            _this->refresh();
 | 
			
		||||
            // Reselect and reset samplerate if it changed
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user