MeiCam SDK For Android  3.10.0
Public Member Functions | List of all members
com.meicam.sdk.NvsCustomAudioFx.Renderer Interface Reference

Custom video effects' renderer interface. User-implemented custom video effects must implement this interface. More...

Public Member Functions

void onInit ()
 Meishe SDK calls this method on custom audio effects to let the user initialize some resources. More...
 
int querySupportedInputAudioSampleFormat ()
 Meishe SDK calls this method on custom audio effects to let sdk to known audio format. More...
 
void onCleanup ()
 Meishe SDK calls this method on custom audio effects to let users clean up resources. More...
 
NvsAudioSampleBuffers onRender (RenderContext renderContext)
 Meishe SDK calls this method on custom audio effects to apply effect special effects on input audio samples. More...
 
NvsAudioSampleBuffers onFlush ()
 Meishe SDK calls this method on custom audio effects to apply effect special effects on input audio samples. More...
 

Detailed Description

Custom video effects' renderer interface. User-implemented custom video effects must implement this interface.

Member Function Documentation

◆ onCleanup()

void com.meicam.sdk.NvsCustomAudioFx.Renderer.onCleanup ( )

Meishe SDK calls this method on custom audio effects to let users clean up resources.

This method will only be called once at most in the life cycle of a custom audio effect, and will definitely be called after onInit. If onInit is not called, it will not be called.

◆ onFlush()

NvsAudioSampleBuffers com.meicam.sdk.NvsCustomAudioFx.Renderer.onFlush ( )

Meishe SDK calls this method on custom audio effects to apply effect special effects on input audio samples.

◆ onInit()

void com.meicam.sdk.NvsCustomAudioFx.Renderer.onInit ( )

Meishe SDK calls this method on custom audio effects to let the user initialize some resources.

This method will only be called at most once during the life cycle of a custom audio effect. If the effect has never been used, this method will not be called.

◆ onRender()

NvsAudioSampleBuffers com.meicam.sdk.NvsCustomAudioFx.Renderer.onRender ( RenderContext  renderContext)

Meishe SDK calls this method on custom audio effects to apply effect special effects on input audio samples.

Parameters
renderContextEffects rendering context object

◆ querySupportedInputAudioSampleFormat()

int com.meicam.sdk.NvsCustomAudioFx.Renderer.querySupportedInputAudioSampleFormat ( )

Meishe SDK calls this method on custom audio effects to let sdk to known audio format.

This method will only be called at most once during the life cycle of a custom audio effect. If the effect has never been used, this method will not be called.


The documentation for this interface was generated from the following file: