Home
last modified time | relevance | path

Searched refs:ENCODING_PCM_16BIT (Results 1 – 25 of 37) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DResamplingAudioProcessor.java42 && encoding != C.ENCODING_PCM_16BIT in onConfigure()
49 return encoding != C.ENCODING_PCM_16BIT in onConfigure()
51 inputAudioFormat.sampleRate, inputAudioFormat.channelCount, C.ENCODING_PCM_16BIT) in onConfigure()
76 case C.ENCODING_PCM_16BIT: in queueInput()
123 case C.ENCODING_PCM_16BIT: in queueInput()
DChannelMappingAudioProcessor.java52 if (inputAudioFormat.encoding != C.ENCODING_PCM_16BIT) { in onConfigure()
65 ? new AudioFormat(inputAudioFormat.sampleRate, outputChannels.length, C.ENCODING_PCM_16BIT) in onConfigure()
DAudioCapabilities.java38 new AudioCapabilities(new int[] {AudioFormat.ENCODING_PCM_16BIT}, DEFAULT_MAX_CHANNEL_COUNT);
44 AudioFormat.ENCODING_PCM_16BIT, AudioFormat.ENCODING_AC3, AudioFormat.ENCODING_E_AC3
DSonicAudioProcessor.java140 if (inputAudioFormat.encoding != C.ENCODING_PCM_16BIT) { in configure()
149 new AudioFormat(outputSampleRateHz, inputAudioFormat.channelCount, C.ENCODING_PCM_16BIT); in configure()
DFloatResamplingAudioProcessor.java81 case C.ENCODING_PCM_16BIT: in queueInput()
DTrimmingAudioProcessor.java25 @C.PcmEncoding private static final int OUTPUT_ENCODING = C.ENCODING_PCM_16BIT;
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/audio/
DSonicAudioProcessorTest.java35 /* sampleRate= */ 22050, /* channelCount= */ 2, /* encoding= */ C.ENCODING_PCM_16BIT);
38 /* sampleRate= */ 44100, /* channelCount= */ 2, /* encoding= */ C.ENCODING_PCM_16BIT);
41 /* sampleRate= */ 48000, /* channelCount= */ 2, /* encoding= */ C.ENCODING_PCM_16BIT);
DTeeAudioProcessorTest.java37 new AudioFormat(/* sampleRate= */ 44100, /* channelCount= */ 2, C.ENCODING_PCM_16BIT);
DTrimmingAudioProcessorTest.java34 new AudioFormat(/* sampleRate= */ 44100, /* channelCount= */ 2, C.ENCODING_PCM_16BIT);
DDefaultAudioSinkTest.java221 C.ENCODING_PCM_16BIT, in configureDefaultAudioSink()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/
DCTest.java44 assertThat(C.ENCODING_PCM_16BIT).isEqualTo(AudioFormat.ENCODING_PCM_16BIT); in encodingConstants_equalToAudioFormatConstants()
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DLibopusAudioRenderer.java72 } else if (!supportsOutput(format.channelCount, C.ENCODING_PCM_16BIT)) { in supportsFormatInternal()
106 .setPcmEncoding(C.ENCODING_PCM_16BIT) in getOutputFormat()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioManager.java113 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinOutputFrameSize()
125 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinInputFrameSize()
DWebRtcAudioTrack.java205 AudioFormat.ENCODING_PCM_16BIT) in initPlayout()
403 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in createAudioTrackOnLollipopOrHigher()
414 AudioFormat.ENCODING_PCM_16BIT, bufferSizeInBytes, AudioTrack.MODE_STREAM); in createAudioTrackOnLowerThanLollipop()
/external/exoplayer/tree/extensions/gvr/src/main/java/com/google/android/exoplayer2/ext/gvr/
DGvrAudioProcessor.java89 if (inputAudioFormat.encoding != C.ENCODING_PCM_16BIT) { in configure()
120 return new AudioFormat(inputAudioFormat.sampleRate, OUTPUT_CHANNEL_COUNT, C.ENCODING_PCM_16BIT); in configure()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DC.java157 ENCODING_PCM_16BIT,
190 ENCODING_PCM_16BIT,
202 public static final int ENCODING_PCM_16BIT = AudioFormat.ENCODING_PCM_16BIT; field in C
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackAudioThread.java61 private final int mAudioFormat = AudioFormat.ENCODING_PCM_16BIT;
86 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaultSettings()
88 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in computeDefaultSettings()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioTrack.java237 AudioFormat.ENCODING_PCM_16BIT) in initPlayout()
412 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in createAudioTrackOnLollipopOrHigher()
425 AudioFormat.ENCODING_PCM_16BIT, bufferSizeInBytes, AudioTrack.MODE_STREAM); in createAudioTrackOnLowerThanLollipop()
DWebRtcAudioManager.java344 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinOutputFrameSize()
362 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinInputFrameSize()
DWebRtcAudioRecord.java256 AudioRecord.getMinBufferSize(sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT); in initRecording()
270 AudioFormat.ENCODING_PCM_16BIT, bufferSizeInBytes); in initRecording()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DWavUtil.java58 case C.ENCODING_PCM_16BIT: in getTypeForPcmEncoding()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DSpeechActivity.java208 SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); in record()
219 AudioFormat.ENCODING_PCM_16BIT, in record()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DRecordedAudioToFileController.java110 if (samples.getAudioFormat() != AudioFormat.ENCODING_PCM_16BIT) { in onWebRtcAudioRecordSamplesReady()
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DLibflacAudioRenderer.java95 pcmEncoding = C.ENCODING_PCM_16BIT; in supportsFormatInternal()
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegAudioRenderer.java146 || supportsOutput(inputFormat.channelCount, C.ENCODING_PCM_16BIT); in isOutputSupported()

12