-
public interface AudioDeviceRendererAudioDeviceRenderer interface provides the mechanism to define a custom audio device renderer.
-
-
Method Summary
Modifier and Type Method Description abstract AudioFormatgetRendererFormat()Returns the format of the audio that will be rendered. abstract booleanonInitRenderer()Raised when the Renderer is ready to be initialized. abstract booleanonStartRendering(@NonNull() AudioDeviceContext audioDeviceContext)Raised when the renderer is ready to render. abstract booleanonStopRendering()Raised when the capturer stops rendering. -
-
Method Detail
-
getRendererFormat
@Nullable() abstract AudioFormat getRendererFormat()
Returns the format of the audio that will be rendered. Returning
{@code null}indicatesrendering is not supported.
-
onInitRenderer
abstract boolean onInitRenderer()
-
onStartRendering
abstract boolean onStartRendering(@NonNull() AudioDeviceContext audioDeviceContext)
Raised when the renderer is ready to render.
-
onStopRendering
abstract boolean onStopRendering()
Raised when the capturer stops rendering.
-
-
-
-