SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSAudioDevice.h
1 //
2 // GSAudioDevice.h
3 // SipEndpoint
4 //
5 // Copyright (c) 2011-2018 Genesys Telecommunications Laboratories, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import <CoreAudio/AudioHardware.h>
10 #import "GSEnums.h"
11 
16 @protocol GSAudioDevice <NSObject>
17 
21 @property (nonatomic, retain) NSString* name;
22 
26 @property (nonatomic) int deviceId;
27 
31 @property (nonatomic, readonly) BOOL canInput;
32 
36 @property (nonatomic, readonly) BOOL canOutput;
37 
41 @property (nonatomic) BOOL hasVolumeControl;
42 
48 @property (nonatomic) int speakerVolume;
49 
55 @property (nonatomic) int micVolume;
56 
64 - (GSResult) changeSpeakerVolumeTo:(int) value;
65 
71 - (int) getSpeakerVolume;
72 
80 - (GSResult) changeMicVolumeTo:(int) value;
81 
87 - (int) getMicVolume;
88 
89 
90 @end