Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvda alpha-28166 is not compatible with this add-on #23

Closed
cary-rowen opened this issue May 1, 2023 · 4 comments · Fixed by #25
Closed

nvda alpha-28166 is not compatible with this add-on #23

cary-rowen opened this issue May 1, 2023 · 4 comments · Fixed by #25

Comments

@cary-rowen
Copy link
Collaborator

Hi,
Alpha-28166 is the merged version of nvaccess/nvda#14697
There is a problem when NVDA or an add-on tries to call nvwave.playWaveFile.
The log snippet is as follows:

  File "nvwave.pyc", line 718, in playWaveFile
  File "nvwave.pyc", line 823, in __init__
  File "C:\Users\cary\AppData\Roaming\nvda\addons\tonysEnhancements\globalPlugins\tonysEnhancements\__init__.py", line 618, in preWaveOpen
    winmm.waveOutSetVolume(selfself._waveout, volume2)
AttributeError: 'WasapiWavePlayer' object has no attribute '_waveout'
@cary-rowen
Copy link
Collaborator Author

cc @mltony

@mltony
Copy link
Owner

mltony commented May 1, 2023 via email

@cary-rowen
Copy link
Collaborator Author

@josephsl turned over the SoundSplitter to @XLTechie for maintenance.
Believe he will do well.
I might be able to remove this code in a single commit, or comment it out.

@CyrilleB79
Copy link
Contributor

@josephsl turned over the SoundSplitter to @XLTechie for maintenance. Believe he will do well. I might be able to remove this code in a single commit, or comment it out.

I confirm that the add-on is well maintained by @XLTechie who has performed updates even taking in account alpha NVDA releases. External contributions (mines) were also reviewed and merged without any difficulty.

SoundSplitter does not yet support WASAPI, but at least, it does not crash or silence NVDA and it clearly indicates that WASAPI is not (yet) supported when trying to split the sound. For now Tony's Enhancement does not provide such a user friendly support and NVDA needs to be started without add-ons to be able to disable WASAPI.

So @mltony do you give the formal green light to @cary-rowen to remove (or comment the SoundSplit code in Tony's Enhancements?

In the future, if you have time and ideas to implement a solution for SoundSplit with WASAPI, you may always contribute to SoundSplitter add-on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants