Restricting it to either 1 or 8 will again break detection when stereo direct is active. it was previously solved as I accepted 4. when using stereo direct, the primary guid changes devicestate to 4. I should change that to devicestate 8, which is "unplugged".Īfter all I want to detect relevant device even when all jacks are unplugged.īut there will be another issue to handle differently now. Thing is, I was mistakenly treating devicestate 4 as "unplugged", while it should have been devicestate 8.Īpparently devicestate 4 means "not present / disabled". If your previous guid was set in ini and had devicestate 4 in registry, it wouldn't bother searching for other devices (until you delete guid from ini). Hi kastriot, device detection is already using such logic, although there's a bit more to it than a simple "if statement", but still.Ĭurrently, although devicestate 1 is prioritized on multiple device detection, it also accept devicestate 4.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |