1

Topic: The general loudness of a sound

Good afternoon, Prompt, please, program to read/change the general loudness of a sound in system Those examples that I found work only to  inclusively. On Vista + go wood. It is actually necessary a little: - to read level - to change level - mute on/off - to read a mode mute it is included or ungeared Not bad  (the worker of the EC th on Windows 7-10) It is necessary on Delphi but also on a C ++ approaches.  it is simple. Something at once here did not find anything sensible. Prompt where to look, if it was considered already

2

Re: The general loudness of a sound

EndpointVolume API

3

Re: The general loudness of a sound

Hello, VTT, you wrote: VTT> EndpointVolume API I already round it walk long... How to receive object of interface IMMDevice? And what values of constants (for example IID_IAudioClient and IID_ISimpleAudioVolume)? Where them to take?

4

Re: The general loudness of a sound

Hello, drpops, you wrote: D> Hello, VTT, you wrote: VTT>> EndpointVolume API D> I already round it walk long... D> how to receive object of interface IMMDevice? D> And what values of constants (for example IID_IAudioClient and IID_ISimpleAudioVolume)? D> where them to take? Interface IAudioEndpointVolume which can be received is more likely necessary to you causing method Activate of interface IMMDevice which can be received causing method GetDefaultAudioEndpoint of interface IMMDeviceEnumerator which can be received causing method CoCreateInstance. It is possible to look for values of constants near to the declaration of the necessary interface in an appropriate heading file. The necessary heading files are normally specified on MSDN in the bottom of pages, in section Requirements.

5

Re: The general loudness of a sound

Hello, drpops, you wrote: D> Hello, VTT, you wrote: VTT>> EndpointVolume API D> I already round it walk long... D> how to receive object of interface IMMDevice? If you do not know as it is time to attend to learning of model COM and as it to prepare with direct sound. Also I recommend to esteem that such atl and as it to use with COM.