Home
last modified time | relevance | path

Searched refs:outputChannels (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DChannelMappingAudioProcessor.java30 @Nullable private int[] outputChannels; field in ChannelMappingAudioProcessor
40 public void setChannelMap(@Nullable int[] outputChannels) { in setChannelMap() argument
41 pendingOutputChannels = outputChannels; in setChannelMap()
47 @Nullable int[] outputChannels = pendingOutputChannels; in onConfigure() local
48 if (outputChannels == null) { in onConfigure()
56 boolean active = inputAudioFormat.channelCount != outputChannels.length; in onConfigure()
57 for (int i = 0; i < outputChannels.length; i++) { in onConfigure()
58 int channelIndex = outputChannels[i]; in onConfigure()
65 ? new AudioFormat(inputAudioFormat.sampleRate, outputChannels.length, C.ENCODING_PCM_16BIT) in onConfigure()
71 int[] outputChannels = Assertions.checkNotNull(this.outputChannels); in queueInput() local
[all …]
DForwardingAudioSink.java52 @Nullable int[] outputChannels, in configure() argument
61 outputChannels, in configure()
DDefaultAudioSink.java429 @Nullable int[] outputChannels, in configure() argument
433 if (Util.SDK_INT < 21 && inputChannelCount == 8 && outputChannels == null) { in configure()
436 outputChannels = new int[6]; in configure()
437 for (int i = 0; i < outputChannels.length; i++) { in configure()
438 outputChannels[i] = i; in configure()
455 channelMappingAudioProcessor.setChannelMap(outputChannels); in configure()
DAudioSink.java218 @Nullable int[] outputChannels, in configure() argument
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java165 private int outputChannels; field in WebRtcAudioManager
182 nativeCacheAudioParameters(sampleRate, outputChannels, inputChannels, hardwareAEC, hardwareAGC, in WebRtcAudioManager()
223 outputChannels = getStereoOutput() ? 2 : 1; in storeAudioParameters()
236 : getMinOutputFrameSize(sampleRate, outputChannels); in storeAudioParameters()
373 private native void nativeCacheAudioParameters(int sampleRate, int outputChannels, in nativeCacheAudioParameters() argument
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCapturingAudioSink.java60 @Nullable int[] outputChannels, in configure() argument
71 outputChannels, in configure()