filoe / cscore

An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.17k stars 450 forks source link

How to get device-AudioEndpointVolume ? #62

Closed Mitra-M closed 8 years ago

Mitra-M commented 8 years ago

please tell me how to get

device-AudioEndpointVolume.MasterVolumeLevelScalar

using cscore.CoreAudioAPI?

filoe commented 8 years ago

Take a look at these unit-tests: https://github.com/filoe/cscore/blob/master/CSCore.Test/CoreAudioAPI/EndpointTests.cs#L31

If there are still any questions, feel free to ask me :).

Mitra-M commented 8 years ago

Thank you very much for your quick response and hope to always be active .