shithub: zelda3

ref: 28b7801e74995043815740c402f00517b4a559b1
dir: /platform/win32/volume_control.h/

View raw version
#ifndef ZELDA3_PLATFORM_WIN32_VOLUME_CONTROL_H_
#define ZELDA3_PLATFORM_WIN32_VOLUME_CONTROL_H_

#include <stdbool.h>

#ifndef SYSTEM_VOLUME_MIXER_AVAILABLE
#define SYSTEM_VOLUME_MIXER_AVAILABLE 1
#endif  // SYSTEM_VOLUME_MIXER_AVAILABLE

int GetApplicationVolume();
bool SetApplicationVolume(int volume_level);
bool SetApplicationMuted(bool muted);

#endif // ZELDA3_PLATFORM_WIN32_VOLUME_CONTROL_H_