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

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