#import <GSAudioDevice.h>
List of all members.
Detailed Description
Defines functionality specific to an audio device. Note that if a given device supports media of type "audio," this device will implement GSAudioDevice protocol.
Definition at line 16 of file GSAudioDevice.h.
Member Function Documentation
- (GSResult) changeMicVolumeTo: |
|
(int) |
value |
|
Changes the mic volume to the specified value.
- Parameters:
-
value | a number between 0 and 100 representing the current mic volume. |
- Returns:
- the result of the operation
- (GSResult) changeSpeakerVolumeTo: |
|
(int) |
value |
|
Changes the speaker volume to the specified value.
- Parameters:
-
value | a number between 0 and 100 representing the current speaker volume. |
- Returns:
- the result of the operation
- (GSResult) routeMicSignalFrom: |
|
(GSDeviceRoute) |
route |
|
Specifies where the mic signal is coming from.
- Parameters:
-
route | the route the signal should take |
- Returns:
- the result of the operation
- (GSResult) routeSpeakerSignalTo: |
|
(GSDeviceRoute) |
route |
|
Specifies where the audio signal should be played.
- Parameters:
-
route | the route the signal should take |
- Returns:
- the result of the operation
- (BOOL) supportsCapabilityForInput: |
|
(GSAudioDeviceCapability) |
capability |
|
Used to determine if the device supports the specified audio capability for the microphone
- Parameters:
-
capability | the requested capability |
- Returns:
- YES if the capability is supported, NO otherwise.
- (BOOL) supportsCapabilityForOutput: |
|
(GSAudioDeviceCapability) |
capability |
|
Used to determine if the device supports the specified audio capability for the speaker
- Parameters:
-
capability | the requested capability |
- Returns:
- YES if the capability is supported, NO otherwise.
Property Documentation
- (GSDeviceRoute) micRoute |
|
readnonatomicassign |
Get the current route for the microphone
Definition at line 21 of file GSAudioDevice.h.
Used to get speaker volume.
- Returns:
- a number between 0 and 100 representing the current mic volume.
Definition at line 76 of file GSAudioDevice.h.
- (GSDeviceRoute) speakerRoute |
|
readnonatomicassign |
Used to get speaker volume.
- Returns:
- a number between 0 and 100 representing the current speaker volume.
Definition at line 69 of file GSAudioDevice.h.
The documentation for this protocol was generated from the following file:
- /Users/valery/Projects/SipEpSdk-12.06.12/endpoint/MacOS/Endpoint/Src/Headers/GSAudioDevice.h