java.lang.Object | |
↳ | com.h6ah4i.android.media.opensl.OpenSLMediaPlayerFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OpenSLMediaPlayerFactory(Context context) | |||||||||||
OpenSLMediaPlayerFactory(Context context, OpenSLMediaPlayerContext.Parameters params) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IBassBoost |
createBassBoost(IBasicMediaPlayer player)
Create BassBoost object
| ||||||||||
IBassBoost |
createBassBoost(int audioSession)
Create BassBoost object
| ||||||||||
IEnvironmentalReverb |
createEnvironmentalReverb()
Create EnvironmentalReverb object
| ||||||||||
IEqualizer |
createEqualizer(int audioSession)
Create Equalizer object
| ||||||||||
IEqualizer |
createEqualizer(IBasicMediaPlayer player)
Create Equalizer object
| ||||||||||
IEqualizer |
createHQEqualizer()
Create HQEqualizer object
| ||||||||||
IHQVisualizer |
createHQVisualizer()
Create HQVisualizer object
| ||||||||||
ILoudnessEnhancer |
createLoudnessEnhancer(IBasicMediaPlayer player)
Create LoudnessEnhancer object
| ||||||||||
ILoudnessEnhancer |
createLoudnessEnhancer(int audioSession)
Create LoudnessEnhancer object
| ||||||||||
IBasicMediaPlayer |
createMediaPlayer()
Create BasicMediaPlayer object
| ||||||||||
IPreAmp |
createPreAmp()
Create PreAmp object
| ||||||||||
IPresetReverb |
createPresetReverb()
Create PresetReverb object
| ||||||||||
IVirtualizer |
createVirtualizer(IBasicMediaPlayer player)
Create Virtualizer object
| ||||||||||
IVirtualizer |
createVirtualizer(int audioSession)
Create Virtualizer object
| ||||||||||
IVisualizer |
createVisualizer(IBasicMediaPlayer player)
Create Visualizer object
| ||||||||||
IVisualizer |
createVisualizer(int audioSession)
Create Visualizer object
| ||||||||||
OpenSLMediaPlayerContext | getOpenSLMediaPlayerContext() | ||||||||||
void |
release()
Release associated resources.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void | checkIsOpenSLMediaPlayer(IBasicMediaPlayer player) | ||||||||||
void | finalize() | ||||||||||
int | getDefaultContextOptions() | ||||||||||
OpenSLMediaPlayerContext.Parameters | getDefaultContextParams() | ||||||||||
static int | getEqualizerNumberOfBands() | ||||||||||
OpenSLMediaPlayerContext | getMediaPlayerContext() | ||||||||||
int | getMediaPlayerOptions() | ||||||||||
OpenSLBassBoost | onCreateBassBoost(OpenSLMediaPlayer player) | ||||||||||
OpenSLBassBoost | onCreateBassBoost(int audioSession) | ||||||||||
OpenSLEnvironmentalReverb | onCreateEnvironmentalReverb() | ||||||||||
OpenSLEqualizer | onCreateEqualizer(int audioSession) | ||||||||||
OpenSLEqualizer | onCreateEqualizer(OpenSLMediaPlayer player) | ||||||||||
OpenSLHQEqualizer | onCreateHQEqualizer() | ||||||||||
OpenSLHQVisualizer | onCreateHQVisualizer() | ||||||||||
OpenSLPreAmp | onCreatePreAmp() | ||||||||||
OpenSLPresetReverb | onCreatePresetReverb() | ||||||||||
OpenSLVirtualizer | onCreateVirtualizer(int audioSession) | ||||||||||
OpenSLVirtualizer | onCreateVirtualizer(OpenSLMediaPlayer player) | ||||||||||
void | throwNotSupportedError() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.h6ah4i.android.media.IMediaPlayerFactory
| |||||||||||
From interface
com.h6ah4i.android.media.IReleasable
|
Create BassBoost object
player | the BasicMediaPlayer instance to attached the BassBoost effect. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create BassBoost object
audioSession | system wide unique audio session identifier. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create EnvironmentalReverb object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Equalizer object
audioSession | system wide unique audio session identifier. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Equalizer object
player | the BasicMediaPlayer instance to attached the Equalizer effect. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create HQEqualizer object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create HQVisualizer object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create LoudnessEnhancer object
player | the BasicMediaPlayer instance to attached the LoudnessEnhancer effect. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create LoudnessEnhancer object
audioSession | system wide unique audio session identifier. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create BasicMediaPlayer object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create PreAmp object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create PresetReverb object
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Virtualizer object
player | the BasicMediaPlayer instance to attached the Virtualizer effect. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Virtualizer object
audioSession | system wide unique audio session identifier. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Visualizer object
player | the BasicMediaPlayer instance to attached the Visualizer effect. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Create Visualizer object
audioSession | system wide unique audio session identifier. |
---|
IllegalArgumentException | |
---|---|
IllegalStateException | |
UnsupportedOperationException |
Release associated resources.
IllegalStateException | |
---|---|
UnsupportedOperationException |
Throwable |
---|