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

Added IWavePlayer.Volume to UWP #582

Merged
merged 2 commits into from
Feb 6, 2020
Merged

Added IWavePlayer.Volume to UWP #582

merged 2 commits into from
Feb 6, 2020

Conversation

neilt6
Copy link
Contributor

@neilt6 neilt6 commented Jan 21, 2020

Added the Volume property to the UWP IWavePlayer interface to improve cross-platform compatibility. Issue #581.

Added the Volume property to the UWP IWavePlayer interface to improve cross-platform compatibility.
/// <summary>
/// Volume (not implemented)
/// </summary>
float IWavePlayer.Volume { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
Copy link
Contributor

Choose a reason for hiding this comment

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

Get should return 1.0f, Set should throw a NotSupportedException

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, fixed.

Get should return 1.0f, Set should throw a NotSupportedException.
@markheath markheath merged commit 30aa44e into naudio:master Feb 6, 2020
@neilt6 neilt6 deleted the iwaveplayer-fixes branch February 6, 2020 17:16
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.

2 participants