File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
CommonFramework/AudioPipeline Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -439,6 +439,11 @@ std::vector<AudioDeviceInfo> AudioDeviceInfo::all_output_devices(){
439439 }
440440#endif
441441
442+ bool show_all_devices = GlobalSettings::instance ().AUDIO_PIPELINE ->SHOW_ALL_DEVICES ;
443+ if (show_all_devices){
444+ return list;
445+ }
446+
442447 // Get map of greatest format counts.
443448 std::map<std::string, size_t > most_formats;
444449 for (AudioDeviceInfo& device : list){
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ ImageMatch::ImageMatchResult TeraSilhouetteReader::read(const ImageViewRGB32& sc
8484 );
8585
8686 if (tight_box.area () == 0 ){
87- global_logger_tagged ().log (" TeraSilhouetteReader::read(): Cropped image is empty." , COLOR_RED);
88- return ImageMatch::ImageMatchResult () ;
87+ // global_logger_tagged().log("TeraSilhouetteReader::read(): Cropped image is empty.", COLOR_RED);
88+ continue ;
8989 }
9090
9191// cout << "check3" << endl;
You can’t perform that action at this time.
0 commit comments