SIP Endpoint SDK for OS X
|
#import <GSAudioDevice.h>
Public Member Functions | |
(GSResult) | - changeSpeakerVolumeTo: |
(int) | - getSpeakerVolume |
(GSResult) | - changeMicVolumeTo: |
(int) | - getMicVolume |
Properties | |
NSString * | name |
int | deviceId |
BOOL | canInput |
BOOL | canOutput |
BOOL | hasVolumeControl |
int | speakerVolume |
int | micVolume |
Defines functionality specific to an audio device. Note this device will implement GSAudioDevice protocol.
Definition at line 16 of file GSAudioDevice.h.
- (GSResult) changeMicVolumeTo: | (int) | value |
Changes the current mic volume to the specified value.
value | a number between 0 and 255 representing the current mic volume. |
- (GSResult) changeSpeakerVolumeTo: | (int) | value |
Changes the speaker volume to the specified value.
value | a number between 0 and 255 representing the current speaker volume. |
- (int) getMicVolume |
Get the current mic volume.
- (int) getSpeakerVolume |
Get the currently used speaker volume.
|
readnonatomicassign |
Specifies whether the device can be used for input operations
Reimplemented in GSSipAudioDevice.
Definition at line 31 of file GSAudioDevice.h.
|
readnonatomicassign |
Specifies whether the device can be used for output operations
Reimplemented in GSSipAudioDevice.
Definition at line 36 of file GSAudioDevice.h.
|
readwritenonatomicassign |
The ID of the device.
Reimplemented in GSSipAudioDevice.
Definition at line 26 of file GSAudioDevice.h.
|
readwritenonatomicassign |
Specifies whether the device has volume control operations
Reimplemented in GSSipAudioDevice.
Definition at line 41 of file GSAudioDevice.h.
|
readwritenonatomicassign |
Used to get speaker volume.
Reimplemented in GSSipAudioDevice.
Definition at line 55 of file GSAudioDevice.h.
|
readwritenonatomicretain |
The name of the device.
Reimplemented in GSSipAudioDevice.
Definition at line 21 of file GSAudioDevice.h.
|
readwritenonatomicassign |
Used to get speaker volume.
Reimplemented in GSSipAudioDevice.
Definition at line 48 of file GSAudioDevice.h.