Java Code Examples for com.google.android.exoplayer.audio.AudioTrack#InitializationException

The following examples show how to use com.google.android.exoplayer.audio.AudioTrack#InitializationException . 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: EventProxy.java    From exoplayer-textureview with Apache License 2.0 5 votes vote down vote up
/** MediaCodecAudioTrackRenderer.EventListener */
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
    if (internalErrorListener != null) {
        internalErrorListener.onAudioTrackInitializationError(e);
    }
}
 
Example 2
Source File: MediaCodecAudioTrackRenderer.java    From Exoplayer_VLC with Apache License 2.0 5 votes vote down vote up
private void notifyAudioTrackInitializationError(final AudioTrack.InitializationException e) {
  if (eventHandler != null && eventListener != null) {
    eventHandler.post(new Runnable()  {
      @Override
      public void run() {
        eventListener.onAudioTrackInitializationError(e);
      }
    });
  }
}
 
Example 3
Source File: VideoPlayer.java    From iview-android-tv with MIT License 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
    if (internalErrorListener != null) {
        internalErrorListener.onAudioTrackInitializationError(e);
    }
}
 
Example 4
Source File: DemoPlayer.java    From Exoplayer_VLC with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 5
Source File: DemoPlayer.java    From droidkaigi2016 with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 6
Source File: EventLogger.java    From Exoplayer_VLC with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  printInternalError("audioTrackInitializationError", e);
}
 
Example 7
Source File: DemoPlayer.java    From ShareBox with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 8
Source File: DemoPlayer.java    From talk-android with MIT License 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 9
Source File: DemoPlayer.java    From droidkaigi2016 with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 10
Source File: EventLogger.java    From WliveTV with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  printInternalError("audioTrackInitializationError", e);
}
 
Example 11
Source File: DemoPlayer.java    From Android-Example-HLS-ExoPlayer with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 12
Source File: DemoPlayer.java    From WliveTV with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  if (internalErrorListener != null) {
    internalErrorListener.onAudioTrackInitializationError(e);
  }
}
 
Example 13
Source File: EventLogger.java    From Android-Example-HLS-ExoPlayer with Apache License 2.0 4 votes vote down vote up
@Override
public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
  printInternalError("audioTrackInitializationError", e);
}
 
Example 14
Source File: ExoplayerWrapper.java    From google-media-framework-android with Apache License 2.0 2 votes vote down vote up
/**
 * Respond to error in initializing the audio track.
 * @param e The error.
 */
void onAudioTrackInitializationError(AudioTrack.InitializationException e);
 
Example 15
Source File: MediaCodecAudioTrackRenderer.java    From Exoplayer_VLC with Apache License 2.0 2 votes vote down vote up
/**
 * Invoked when an {@link AudioTrack} fails to initialize.
 *
 * @param e The corresponding exception.
 */
void onAudioTrackInitializationError(AudioTrack.InitializationException e);
 
Example 16
Source File: DemoPlayer.java    From Android-Example-HLS-ExoPlayer with Apache License 2.0 votes vote down vote up
void onAudioTrackInitializationError(AudioTrack.InitializationException e); 
Example 17
Source File: DemoPlayer.java    From WliveTV with Apache License 2.0 votes vote down vote up
void onAudioTrackInitializationError(AudioTrack.InitializationException e); 
Example 18
Source File: EventProxy.java    From exoplayer-textureview with Apache License 2.0 votes vote down vote up
void onAudioTrackInitializationError(AudioTrack.InitializationException e); 
Example 19
Source File: DemoPlayer.java    From talk-android with MIT License votes vote down vote up
void onAudioTrackInitializationError(AudioTrack.InitializationException e); 
Example 20
Source File: DemoPlayer.java    From ShareBox with Apache License 2.0 votes vote down vote up
void onAudioTrackInitializationError(AudioTrack.InitializationException e);