|
Sip Endpoint SDK for Apple OS
|
#import <GSAudioDevice.h>
Public Member Functions | |
| (GSResult) | - routeMicSignalFrom: |
| (GSResult) | - routeSpeakerSignalTo: |
| (BOOL) | - supportsCapabilityForInput: |
| (BOOL) | - supportsCapabilityForOutput: |
| (GSResult) | - changeSpeakerVolumeTo: |
| (GSResult) | - changeMicVolumeTo: |
Properties | |
| GSDeviceRoute | micRoute |
| GSDeviceRoute | speakerRoute |
| int | speakerVolume |
| int | micVolume |
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.
| - (GSResult) changeMicVolumeTo: | (int) | value |
Changes the mic volume to the specified value.
| value | a number between 0 and 100 representing the current mic volume. |
| - (GSResult) changeSpeakerVolumeTo: | (int) | value |
Changes the speaker volume to the specified value.
| value | a number between 0 and 100 representing the current speaker volume. |
| - (GSResult) routeMicSignalFrom: | (GSDeviceRoute) | route |
Specifies where the mic signal is coming from.
| route | the route the signal should take |
| - (GSResult) routeSpeakerSignalTo: | (GSDeviceRoute) | route |
Specifies where the audio signal should be played.
| route | the route the signal should take |
| - (BOOL) supportsCapabilityForInput: | (GSAudioDeviceCapability) | capability |
Used to determine if the device supports the specified audio capability for the microphone
| capability | the requested capability |
| - (BOOL) supportsCapabilityForOutput: | (GSAudioDeviceCapability) | capability |
Used to determine if the device supports the specified audio capability for the speaker
| capability | the requested capability |
- (GSDeviceRoute) micRoute [read, assign] |
Get the current route for the microphone
Definition at line 21 of file GSAudioDevice.h.
- (int) micVolume [read, assign] |
The current mic volume.
Definition at line 72 of file GSAudioDevice.h.
- (GSDeviceRoute) speakerRoute [read, assign] |
Get the current route for the speaker
Definition at line 26 of file GSAudioDevice.h.
- (int) speakerVolume [read, assign] |
The current speaker volume.
Definition at line 67 of file GSAudioDevice.h.