Add an observer to receive notifications about Amazon Voice Focus lifecycle events. See VoiceFocusTransformDeviceObserver for details. If the observer has already been added, this method call has no effect.
If you wish to choose a different inner device, but continue to use Amazon Voice Focus, you can use this method to efficiently create a new device that will reuse the same internal state. Only one of the two devices can be used at a time: switch between them using DeviceController.startAudioInput.
If the same device is passed as is currently in use,
this is returned.
The new inner device to use.
Optionally return a pair of
AudioNodes that should be connected to the applied inner
device. The two nodes can be the same, indicating the smallest possible subgraph.
Each device can be used no more than once at a time in an audio graph. It is acceptable
to reuse audio nodes for successive calls to
createAudioNode, so long as the context
does not differ.
Return the inner device as provided during construction, or updated via VoiceFocusTransformDevice.chooseNewInnerDevice. Do not confuse this method with VoiceFocusTransformDevice.intrinsicDevice.
Called when the meeting audio stream became active.
Called when the meeting audio stream became inactive.
Disable the audio node while muted to reduce CPU usage.
whether the audio device should be muted.
Remove an existing observer. If the observer has not been previously added, this method call has no effect.
Dispose of the inner workings of the transform device. After this method is called you will need to create a new device to use Amazon Voice Focus again.
Generated using TypeDoc
A device that augments a Device to apply Amazon Voice Focus noise suppression to an audio input.