public class

OpenSLMediaPlayerContext

extends Object
implements IReleasable
java.lang.Object
   ↳ com.h6ah4i.android.media.opensl.OpenSLMediaPlayerContext

Summary

Nested Classes
class OpenSLMediaPlayerContext.Parameters  
Constants
int HQ_EQUALIZER_IMPL_BASIC_PEAKING_FILTER
int HQ_EQUALIZER_IMPL_FLAT_GAIN_RESPONSE
int OPTION_USE_BASSBOOST
int OPTION_USE_ENVIRONMENAL_REVERB
int OPTION_USE_EQUALIZER
int OPTION_USE_HQ_EQUALIZER
int OPTION_USE_HQ_VISUALIZER
int OPTION_USE_PREAMP
int OPTION_USE_PRESET_REVERB
int OPTION_USE_VIRTUALIZER
int OPTION_USE_VISUALIZER
int RESAMPLER_QUALITY_HIGH
int RESAMPLER_QUALITY_LOW
int RESAMPLER_QUALITY_MIDDLE
int SINK_BACKEND_TYPE_AUDIO_TRACK
int SINK_BACKEND_TYPE_OPENSL
Public Constructors
OpenSLMediaPlayerContext(Context context, OpenSLMediaPlayerContext.Parameters params)
Public Methods
void release()
Release associated resources.
Protected Methods
void finalize()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.h6ah4i.android.media.IReleasable

Constants

public static final int HQ_EQUALIZER_IMPL_BASIC_PEAKING_FILTER

Constant Value: 0 (0x00000000)

public static final int HQ_EQUALIZER_IMPL_FLAT_GAIN_RESPONSE

Constant Value: 1 (0x00000001)

public static final int OPTION_USE_BASSBOOST

Constant Value: 1 (0x00000001)

public static final int OPTION_USE_ENVIRONMENAL_REVERB

Constant Value: 256 (0x00000100)

public static final int OPTION_USE_EQUALIZER

Constant Value: 4 (0x00000004)

public static final int OPTION_USE_HQ_EQUALIZER

Constant Value: 131072 (0x00020000)

public static final int OPTION_USE_HQ_VISUALIZER

Constant Value: 524288 (0x00080000)

public static final int OPTION_USE_PREAMP

Constant Value: 262144 (0x00040000)

public static final int OPTION_USE_PRESET_REVERB

Constant Value: 512 (0x00000200)

public static final int OPTION_USE_VIRTUALIZER

Constant Value: 2 (0x00000002)

public static final int OPTION_USE_VISUALIZER

Constant Value: 65536 (0x00010000)

public static final int RESAMPLER_QUALITY_HIGH

Constant Value: 2 (0x00000002)

public static final int RESAMPLER_QUALITY_LOW

Constant Value: 0 (0x00000000)

public static final int RESAMPLER_QUALITY_MIDDLE

Constant Value: 1 (0x00000001)

public static final int SINK_BACKEND_TYPE_AUDIO_TRACK

Constant Value: 1 (0x00000001)

public static final int SINK_BACKEND_TYPE_OPENSL

Constant Value: 0 (0x00000000)

Public Constructors

public OpenSLMediaPlayerContext (Context context, OpenSLMediaPlayerContext.Parameters params)

Public Methods

public void release ()

Release associated resources.

Protected Methods

protected void finalize ()

Throws
Throwable