Skip to content

Fall back to Microsoft's own dynamic ducking, and disable our 'always ducking' mode, for Windows builds 14986 and up.#6799

Merged
michaelDCurran merged 2 commits into
masterfrom
i6684
Feb 8, 2017
Merged

Fall back to Microsoft's own dynamic ducking, and disable our 'always ducking' mode, for Windows builds 14986 and up.#6799
michaelDCurran merged 2 commits into
masterfrom
i6684

Conversation

@michaelDCurran

Copy link
Copy Markdown
Member

As this is hopefully temporary, the quickfix solution is to force usage of our own 'always duck' mode, which allows microsoft to dynamic duck how ever it likes.

Fixes #6684

… ducking' mode, for Windows builds 14986 and up.

As this is hopefully temporary, the quickfix solution is to force  usage of our own 'always duck' mode, which  allows microsoft to dynamic duck how ever it likes.

Fixes #6684

@jcsteh jcsteh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to discuss the alternative implementation, but we'll accept this as the minimum, so I'm reviewing now.

Comment thread source/audioDucking.py
if mode<0 or mode>=len(audioDuckingModes):
raise ValueError("%s is not an audio ducking mode")
# Normalize mode to within the exceptable range of values
mode=max(min(mode,len(audioDuckingModes)-1),0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume you do this so that old configurations won't break if the user set it to always duck? A comment here would be nice as to why we normalise instead of throwing an error.

michaelDCurran added a commit that referenced this pull request Feb 4, 2017
@michaelDCurran michaelDCurran merged commit a0a06d9 into master Feb 8, 2017
@nvaccessAuto nvaccessAuto added this to the 2017.1 milestone Feb 8, 2017
michaelDCurran added a commit that referenced this pull request Mar 14, 2017
… 'always ducking' mode, for Windows builds 14986 and up. (#6799)"

Audio ducking in Windows was restored to its original functionality in Windows build 15048

This reverts commit a0a06d9.

Fixes #6933
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

win10-14986 nvda next latest build, audio ducking not working

3 participants