Steps to reproduce:
Execute the following code in the NVDA Python console
import nvwave
nvwave.playWaveFile("d:\copy.wav")
p.s. Drive D should contain a file named "copy.wav".
Actual behavior:
The following error is thrown:
>>> nvwave.playWaveFile("d:\copy.wav")
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "nvwave.pyc", line 722, in playWaveFile
File "nvwave.pyc", line 835, in __init__
File "nvwave.pyc", line 888, in open
File "nvwave.pyc", line 1020, in _setVolumeFromConfig
File "nvwave.pyc", line 1009, in setVolume
File "_ctypes/callproc.c", line 1000, in GetResult
OSError: [WinError -2147024809] 参数错误。
Expected behavior:
No errors are thrown and the wave file plays as expected.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-32650,405f9bfa
Windows version:
Windows 10 22H2 (AMD64) build 19045.4529
Name and version of other software in use when reproducing the issue:
None
Other information about your system:
I'm using Aeropex by AfterShokz bone conduction headphones.
The device has two output channels,:
- Aeropex by AfterShokz Stere
- Aeropex by AfterShokz Hands
Encountered the above error while using "Aeropex by AfterShokz Hands".
Another error encountered while using "Aeropex by AfterShokz Stere":
ERROR - queueHandler.flushQueue (11:53:00.363) - MainThread (1744):
Error in func WasapiWavePlayer._idleCheck
Traceback (most recent call last):
File "queueHandler.pyc", line 63, in flushQueue
File "nvwave.pyc", line 1056, in _idleCheck
AttributeError: 'WasapiWavePlayer' object has no attribute '_lastActiveTime'
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
Yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
Steps to reproduce:
Execute the following code in the NVDA Python console
p.s. Drive D should contain a file named "copy.wav".
Actual behavior:
The following error is thrown:
Expected behavior:
No errors are thrown and the wave file plays as expected.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-32650,405f9bfa
Windows version:
Windows 10 22H2 (AMD64) build 19045.4529
Name and version of other software in use when reproducing the issue:
None
Other information about your system:
I'm using Aeropex by AfterShokz bone conduction headphones.
The device has two output channels,:
Encountered the above error while using "Aeropex by AfterShokz Hands".
Another error encountered while using "Aeropex by AfterShokz Stere":
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
Yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes