Interface IPlaybackIntensityEffectBuilder
interface IPlaybackIntensityEffectBuilder
Extends com.amazon.apmf.IStandard
Interface that encapsulates Playback Output Intensity Builder
Methods
usageType()
Set usage type of streams that the effect will observe and calculate RMS values from.IPlaybackIntensityEffectBuilder*usageType(AudioUsage*usage)
Parameters
usage
AudioUsage* — Required
Returns
IPlaybackIntensityEffectBuilder*
pointer to effect builder object
effectDescriptor()
Set effect descriptor Optional. Only useful when the platform supports playback intensity effect from two different vendors. It allows to specify the vendor uuid in the effect descriptor to use corresponding implementation. If not specified, the OS will pick up the default effect implementation.IPlaybackIntensityEffectBuilder*effectDescriptor(EffectDescriptor*effectDescriptor)
Parameters
effectDescriptor
EffectDescriptor* — Required
pointer to the effect descriptor
Returns
IPlaybackIntensityEffectBuilder*
pointer to effect builder object
playbackIntensitySettings()
Set playback intensity algorithm settings Optional. If this api not called, the effect will apply default settings. Client can query the applied settings using getPlaybackIntensitySettings api.IPlaybackIntensityEffectBuilder*playbackIntensitySettings(PlaybackIntensitySettings*settings)
Parameters
settings
PlaybackIntensitySettings* — Required
to be used by th algorithm
Returns
IPlaybackIntensityEffectBuilder*
pointer to the effect builder object
build()
Build PlaybackIntensity effect objectIPlaybackIntensity*build()
Returns
IPlaybackIntensity*
pointer to the effect object
Throws
InvalidArgumentError— if the specified settings are not supportedInvalidOperationError— if the platform does not support the effect

