ZegoAudioRoom
AudioRoom-Volume.h
Go to the documentation of this file.
1//
2// AudioRoom-Volume.h
3// zegoaudioroom
4//
5// Copyright © 2017年 ZEGO. All rights reserved.
6//
7
8#ifndef AudioRoom_Volume_h
9#define AudioRoom_Volume_h
10
11#include "./AudioRoomDefines.h"
12
13namespace ZEGO
14{
15 namespace AUDIOROOM
16 {
17#ifdef WIN32
25 ZEGO_API void EnableMixSystemPlayout(bool bEnable);
26
35
43 ZEGO_API int GetMicDeviceVolume(const char *deviceId);
44
51 ZEGO_API void SetMicDeviceVolume(const char *deviceId, int volume);
52
60 ZEGO_API int GetSpeakerDeviceVolume(const char *deviceId);
61
68 ZEGO_API void SetSpeakerDeviceVolume(const char *deviceId, int volume);
69
76 ZEGO_API int GetSpeakerSimpleVolume(const char *deviceId);
77
84 ZEGO_API void SetSpeakerSimpleVolume(const char *deviceId, int volume);
85
92 ZEGO_API bool GetSpeakerDeviceMute(const char *deviceId);
93
100 ZEGO_API void SetSpeakerDeviceMute(const char *deviceId, bool mute);
101
108 ZEGO_API bool GetSpeakerSimpleMute(const char *deviceId);
109
116 ZEGO_API void SetSpeakerSimpleMute(const char *deviceId, bool mute);
117
126 ZEGO_API void GetDefaultAudioDeviceId(AV::AudioDeviceType deviceType, char *deviceId, unsigned int *deviceIdLength);
127
136 ZEGO_API bool SetAudioVolumeNotify(AV::AudioDeviceType deviceType, const char *deviceId);
137
145 ZEGO_API bool StopAudioVolumeNotify(AV::AudioDeviceType deviceType, const char *deviceId);
146
147#endif
148 }
149}
150#endif /* AudioRoom_Volume_h */
#define ZEGO_API
Definition: RoomDefines.h:19
ZEGO_API bool GetSpeakerDeviceMute(const char *deviceId)
ZEGO_API int GetMicDeviceVolume(const char *deviceId)
ZEGO_API bool StopAudioVolumeNotify(AV::AudioDeviceType deviceType, const char *deviceId)
ZEGO_API void SetSpeakerSimpleVolume(const char *deviceId, int volume)
ZEGO_API void SetSpeakerDeviceVolume(const char *deviceId, int volume)
ZEGO_API bool SetSystemPlayoutVolumeBeforeMixing(int volume)
ZEGO_API int GetSpeakerDeviceVolume(const char *deviceId)
ZEGO_API bool GetSpeakerSimpleMute(const char *deviceId)
ZEGO_API void EnableMixSystemPlayout(bool bEnable)
ZEGO_API void SetSpeakerDeviceMute(const char *deviceId, bool mute)
ZEGO_API void GetDefaultAudioDeviceId(AV::AudioDeviceType deviceType, char *deviceId, unsigned int *deviceIdLength)
ZEGO_API void SetMicDeviceVolume(const char *deviceId, int volume)
ZEGO_API void SetSpeakerSimpleMute(const char *deviceId, bool mute)
ZEGO_API int GetSpeakerSimpleVolume(const char *deviceId)
ZEGO_API bool SetAudioVolumeNotify(AV::AudioDeviceType deviceType, const char *deviceId)
AudioDeviceType
Definition: zego-api-defines.h:111
Definition: AudioRoom-IM.h:15