You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Patch utils.mmdevice._getOutputDevices to return what we tell it, then test that friendlyNameToEndpointId returns the correct ID given a friendly name.
984
+
"""Patch utils.mmdevice.getOutputDevices to return what we tell it, then test that friendlyNameToEndpointId returns the correct ID given a friendly name.
985
985
The odd order of arguments is so you can directly unpack an AudioOutputDevice.
Copy file name to clipboardExpand all lines: user_docs/en/changes.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,7 @@ Add-ons will need to be re-tested and have their manifest updated.
165
165
* Added the `matchFunc` parameter to `addUsbDevices` which is also available on `addUsbDevice`.
166
166
* This way device detection can be constrained further in cases where a VID/PID-combination is shared by multiple devices across multiple drivers, or when a HID device offers multiple endpoints, for example.
167
167
* See the method documentation as well as examples in the albatross and brailliantB drivers for more information.
168
+
* Added a new function, `utils.mmdevice.getOutputDevices`, to enumerate audio output devices. (#17678)
168
169
* Added a new extension point `pre_synthSpeak` in `synthDriverHandler`, which will be called before the speech manager calls `speak` of the current synthesizer.
169
170
170
171
#### API Breaking Changes
@@ -183,8 +184,11 @@ As the NVDA update check URL is now configurable directly within NVDA, no replac
183
184
*`SymphonyDocument.script_toggleTextAttribute` to `SymphonyDocument.script_changeTextFormatting`
184
185
* The `space` keyword argument for `brailleDisplayDrivers.seikantk.InputGesture` now expects an `int` rather than a `bool`. (#17047, @school510587)
185
186
* The `[upgrade]` configuration section including `[upgrade][newLaptopKeyboardLayout]` has been removed. (#17191)
186
-
* Due to the retirement of NVDA's winmm support (#17496, #17532):
187
-
* The following symbols have been removed from `nvwave`: `CALLBACK_EVENT`, `CALLBACK_FUNCTION`, `CALLBACK_NULL`, `HWAVEOUT`, `LPHWAVEOUT`, `LPWAVEFORMATEX`, `LPWAVEHDR`, `MAXPNAMELEN`, `MMSYSERR_NOERROR`, `usingWasapiWavePlayer`, `WAVEHDR`, `WAVEOUTCAPS`, `waveOutProc`, `WAVE_MAPPER`, `WHDR_DONE`, `WinmmWavePlayer`, and `winmm`.
187
+
* Due to the retirement of NVDA's winmm support (#17496, #17532, #17678):
188
+
* The following symbols have been removed from `nvwave` without replacements: `CALLBACK_EVENT`, `CALLBACK_FUNCTION`, `CALLBACK_NULL`, `HWAVEOUT`, `LPHWAVEOUT`, `LPWAVEFORMATEX`, `LPWAVEHDR`, `MAXPNAMELEN`, `MMSYSERR_NOERROR`, `usingWasapiWavePlayer`, `WAVEHDR`, `WAVEOUTCAPS`, `waveOutProc`, `WAVE_MAPPER`, `WHDR_DONE`, `WinmmWavePlayer`, and `winmm`.
189
+
* The following symbols have been removed from `nvwave`: `getOutputDeviceNames`, `outputDeviceIDToName`, `outputDeviceNameToID`.
190
+
Use `utils.mmdevice.getOutputDevices` instead.
191
+
*`nvwave.WasapiWavePlayer` has been renamed to `WavePlayer`.
188
192
*`gui.settingsDialogs.AdvancedPanelControls.wasapiComboBox` has been removed.
189
193
* The `WASAPI` key has been removed from the `audio` section of the config spec.
190
194
* The output from `nvwave.outputDeviceNameToID`, and input to `nvwave.outputDeviceIDToName` are now string identifiers.
0 commit comments