Thanks Bill, Your clear summary is _very_ helpful.
How the Audio device renumbering problem affects my use of WSJT-X: my other ‘audio’ task is essential; thus WSJT-X cycles will be lost; what I dislike: forgetting to restart WSJT-X then the delayed discovery of having lost many cycles. Taking as given: a) Some of us use our PC for other tasks while WSJT-X is running b) “when this happens WSJT-X gets no notification” c) In WSJT-X we can’t afford the overhead to re-enumerate just before significant action. I’m only seeing a few approaches (excluding a WSJT-X dedicated PC): 1) User avoids any action which triggers MS Windows renumbering: This is hard to remember and can be inadvertent. 2) User manually restarts WSJT-X whenever there is thought to be risk of renumbering: Loses WSJT-X cycle(s) 3) A Setting in WSJT-X which controls the frequency of “lose 1 cycle while doing a re-enumerate”. i.e. The setting might be ‘Re-enumerate Audio Devices Every n Minutes’. 4) A separate periodic low-priority program which alerts the user (or alerts WSJT-X) an actual renumbering has taken place. I’m already doing [1] and [2]; but poorly. [3] wastes cycles on the off-chance there may have been a renumbering. Although I don’t want to be running an extra program, [4] is my preference because it offers the minimum ‘lost’ cycles. The program would not have to be part of WSJT-X. Q: Perhaps one of the existing Audio control programs already has the ‘renumbering took place’ alert feature? 73, Roger (K7GXB) From: Bill Somerville [mailto:g4...@classdesign.com] Sent: Monday, December 21, 2020 05:44 To: wsjt-devel@lists.sourceforge.net Subject: Re: [wsjt-devel] Reproducible Conditions for 'Tx with no Audio' Hi Roger, any change to audio device availability on MS Windows is likely to renumber the indexes of other devices, when this happens WSJT-X gets no notification that it has happened. There is no practical solution that I am aware of, we get a device index when we initially enumerate the available devices and that index is used to address the selected device to send or receive audio samples. Short of re-enumerating audio devices just before any significant action with audio I don't see a solution. Note re-enumerating takes time which we do not usually have at the point it would be necessary. All I can offer is that you must avoid taking any action that might add or remove an audio device while WSJT-X is running. Note that may include inserting or removing a hot-pluggable USB device that has audio endpoints, turning on or off a paired Bluetooth audio device, or even allowing an HDMI connected monitor to go into power saving mode. 73 Bill G4WJS. ===Clipped===
_______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel