Increase MediaClip.Volume doesn't change sound | WinUI

Anderson Rodrigues Cavalcante 316 Reputation points
2023-11-01T15:35:31.5+00:00

I have a MediaClip in C# and chose its volume from 100% to 200%, but it doesn't make a big difference.

So, I'd like to know, what is the measuring unit for Windows Audio Volume? Or more specifically, what is the measure unit for the Media.Clip.Volume? I know that the Windows volume of 100 is not 100 decibels. So, what is it?

My last and important question?
How can I increase decibels to my volume that is percentage? I mean, increment decibels in the volume 100%.

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,114 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 86,311 Reputation points
    2023-11-01T16:13:59.0033333+00:00

    It is explained in MSDN :

    "

    A value between 0 and 1 represents a reduction in the volume level of the media clip where 0 is silence and 1 is normal volume. A value greater than 1 represents a boost in the volume of the media clip.

    "

    If I test with 2 for example, I get 200% of original volume


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.