Java 类com.google.android.exoplayer2.audio.AudioProcessor 实例源码

项目:K-Sonic    文件:SonicMediaCodecAudioRenderer.java   
public SonicMediaCodecAudioRenderer(MediaCodecSelector mediaCodecSelector,
    DrmSessionManager<FrameworkMediaCrypto> drmSessionManager,
    boolean playClearSamplesWithoutKeys, Handler eventHandler,
    AudioRendererEventListener eventListener, AudioCapabilities audioCapabilities,
    AudioProcessor... audioProcessors) {
  super(mediaCodecSelector, drmSessionManager, playClearSamplesWithoutKeys, eventHandler, eventListener, audioCapabilities, audioProcessors);
  //Init
  bufferIndex = -1;
  speed = 1.0f;
  pitch = 1.0f;
  rate = 1.0f;
}
项目:Exoplayer2Radio    文件:DefaultRenderersFactory.java   
/**
 * Builds an array of {@link AudioProcessor}s that will process PCM audio before output.
 */
protected AudioProcessor[] buildAudioProcessors() {
  return new AudioProcessor[0];
}
项目:no-player    文件:SimpleRenderersFactory.java   
/**
 * Builds an array of {@link AudioProcessor}s that will process PCM audio before output.
 */
private AudioProcessor[] buildAudioProcessors() {
    return new AudioProcessor[0];
}
项目:K-Sonic    文件:SimpleExoPlayer.java   
/**
 * Builds an array of {@link AudioProcessor}s that will process PCM audio before output.
 */
protected AudioProcessor[] buildAudioProcessors() {
  return new AudioProcessor[0];
}
项目:transistor    文件:DefaultRenderersFactory.java   
/**
 * Builds an array of {@link AudioProcessor}s that will process PCM audio before output.
 */
protected AudioProcessor[] buildAudioProcessors() {
  return new AudioProcessor[0];
}
项目:transistor    文件:LibopusAudioRenderer.java   
/**
 * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be
 *     null if delivery of events is not required.
 * @param eventListener A listener of events. May be null if delivery of events is not required.
 * @param drmSessionManager For use with encrypted media. May be null if support for encrypted
 *     media is not required.
 * @param playClearSamplesWithoutKeys Encrypted media may contain clear (un-encrypted) regions.
 *     For example a media file may start with a short clear region so as to allow playback to
 *     begin in parallel with key acquisition. This parameter specifies whether the renderer is
 *     permitted to play clear regions of encrypted media files before {@code drmSessionManager}
 *     has obtained the keys necessary to decrypt encrypted regions of the media.
 * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.
 */
public LibopusAudioRenderer(Handler eventHandler, AudioRendererEventListener eventListener,
    DrmSessionManager<ExoMediaCrypto> drmSessionManager, boolean playClearSamplesWithoutKeys,
    AudioProcessor... audioProcessors) {
  super(eventHandler, eventListener, null, drmSessionManager, playClearSamplesWithoutKeys,
      audioProcessors);
}
项目:Jockey    文件:LibflacAudioRenderer.java   
/**
 * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be
 *     null if delivery of events is not required.
 * @param eventListener A listener of events. May be null if delivery of events is not required.
 * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.
 */
public LibflacAudioRenderer(Handler eventHandler, AudioRendererEventListener eventListener,
    AudioProcessor... audioProcessors) {
  super(eventHandler, eventListener, audioProcessors);
}
项目:transistor    文件:LibopusAudioRenderer.java   
/**
 * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be
 *     null if delivery of events is not required.
 * @param eventListener A listener of events. May be null if delivery of events is not required.
 * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.
 */
public LibopusAudioRenderer(Handler eventHandler, AudioRendererEventListener eventListener,
    AudioProcessor... audioProcessors) {
  super(eventHandler, eventListener, audioProcessors);
}
项目:transistor    文件:LibflacAudioRenderer.java   
/**
 * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be
 *     null if delivery of events is not required.
 * @param eventListener A listener of events. May be null if delivery of events is not required.
 * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.
 */
public LibflacAudioRenderer(Handler eventHandler, AudioRendererEventListener eventListener,
    AudioProcessor... audioProcessors) {
  super(eventHandler, eventListener, audioProcessors);
}
项目:transistor    文件:FfmpegAudioRenderer.java   
/**
 * @param eventHandler A handler to use when delivering events to {@code eventListener}. May be
 *     null if delivery of events is not required.
 * @param eventListener A listener of events. May be null if delivery of events is not required.
 * @param audioProcessors Optional {@link AudioProcessor}s that will process audio before output.
 */
public FfmpegAudioRenderer(Handler eventHandler, AudioRendererEventListener eventListener,
    AudioProcessor... audioProcessors) {
  this(eventHandler, eventListener, new DefaultAudioSink(null, audioProcessors), false);
}