Java Code Examples for com.google.android.exoplayer2.C#MSG_SET_AUX_EFFECT_INFO
The following examples show how to use
com.google.android.exoplayer2.C#MSG_SET_AUX_EFFECT_INFO .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SimpleDecoderAudioRenderer.java From MediaSDK with Apache License 2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }
Example 2
Source File: MediaCodecAudioRenderer.java From MediaSDK with Apache License 2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }
Example 3
Source File: SimpleDecoderAudioRenderer.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }
Example 4
Source File: MediaCodecAudioRenderer.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }
Example 5
Source File: SimpleDecoderAudioRenderer.java From Telegram with GNU General Public License v2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }
Example 6
Source File: MediaCodecAudioRenderer.java From Telegram with GNU General Public License v2.0 | 6 votes |
@Override public void handleMessage(int messageType, @Nullable Object message) throws ExoPlaybackException { switch (messageType) { case C.MSG_SET_VOLUME: audioSink.setVolume((Float) message); break; case C.MSG_SET_AUDIO_ATTRIBUTES: AudioAttributes audioAttributes = (AudioAttributes) message; audioSink.setAudioAttributes(audioAttributes); break; case C.MSG_SET_AUX_EFFECT_INFO: AuxEffectInfo auxEffectInfo = (AuxEffectInfo) message; audioSink.setAuxEffectInfo(auxEffectInfo); break; default: super.handleMessage(messageType, message); break; } }