Method Summary
| apply ( ) | Applies the changes made in this configuration session. |
| releaseInstance ( ) |
This function releases the resources used by this instance and ends the configuration session. If ToiAudioOutputConfigurationSession#apply has not been called, the session configuration is lost. |
|
resetFormatMapping
(
|
Resets output format to 'no output' for the specified input format on all available outputs. |
| revert ( ) | Reverts any changes made in this configuration session. |
|
setFormatMapping
(
|
Sets the format mapping on the specified audio output connection. |
Inherited Methods
|
getFormatMapping
(
|
Returns the audio format mapping for the specified output connection and input format. |
|
getFormatMappingList
(
|
Returns all audio format mappings for the specified output connection. |
Methods
Applies the changes made in the configuration session and makes the changes permanent as well as notifying any observers of the changed configuration.
Returns the audio format mapping for the specified output connection and input format.
Inherited From:
Parameters:
-
Name Type Description connectionIdToiAudioOutputService.ToiAudioConnectionId The identifier of the output connection.
inputFormatToiAudioOutputConfiguration.ToiAudioFormat The input format.
Throws:
-
ToiInvalidArgumentException Raised if the output connection or the input format is invalid.
Returns:
-
Type: ToiAudioOutputConfiguration.ToiAudioFormatMapping
The requested format mapping.
Returns all audio format mappings for the specified output connection.
Inherited From:
Parameters:
-
Name Type Description connectionIdToiAudioOutputService.ToiAudioConnectionId The identifier of the output connection.
Throws:
-
ToiInvalidArgumentException Raised if the output connection is invalid.
Returns:
-
Type: Array.<ToiAudioOutputConfiguration.ToiAudioFormatMapping>
The list of audio format mappings.
This function releases the resources used by this instance and ends the configuration session. If ToiAudioOutputConfigurationSession#apply has not been called, the session configuration is lost.
Resets output format to 'no output' for the specified input format on all available outputs.
Parameters:
-
Name Type Description inputFormatToiAudioOutputConfiguration.ToiAudioFormat The input format to reset.
Reverts a configuration session to the state it had when first being created, even if changes have been applied. The reverted configuration is not applied until ToiAudioOutputConfigurationSession#apply is called.
Sets the format mapping on the specified audio output connection.
Parameters:
-
Name Type Description connectionIdToiAudioOutputService.ToiAudioConnectionId The identifier of the output connection.
inputFormatToiAudioOutputConfiguration.ToiAudioFormat The input format.
outputFormatOptionToiAudioOutputConfiguration.ToiAudioFormatOption The output format option.
Throws:
-
ToiInvalidArgumentException Raised if the output connection or the output format option is invalid.
ToiOperationNotSupportedException Raised if the format mapping can not be set..