/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessor.java | 71 private int bytesPerFrame; field in SilenceSkippingAudioProcessor 161 skippedFrames += paddingSize / bytesPerFrame; in onQueueEndOfStream() 168 bytesPerFrame = inputAudioFormat.bytesPerFrame; in onFlush() 169 int maybeSilenceBufferSize = durationUsToFrames(MINIMUM_SILENCE_DURATION_US) * bytesPerFrame; in onFlush() 173 paddingSize = durationUsToFrames(PADDING_SILENCE_US) * bytesPerFrame; in onFlush() 241 skippedFrames += (maybeSilenceBufferSize - paddingSize * 2) / bytesPerFrame; in processMaybeSilence() 243 skippedFrames += (maybeSilenceBufferSize - paddingSize) / bytesPerFrame; in processMaybeSilence() 263 skippedFrames += inputBuffer.remaining() / bytesPerFrame; in processSilence() 332 return bytesPerFrame * (i / bytesPerFrame); in findNoisePosition() 347 return bytesPerFrame * (i / bytesPerFrame) + bytesPerFrame; in findNoiseLimit()
|
D | TrimmingAudioProcessor.java | 90 trimmedFrameCount += trimBytes / inputAudioFormat.bytesPerFrame; in queueInput() 149 trimmedFrameCount += endBufferSize / inputAudioFormat.bytesPerFrame; in onQueueEndOfStream() 160 endBuffer = new byte[trimEndFrames * inputAudioFormat.bytesPerFrame]; in onFlush() 161 pendingTrimStartBytes = trimStartFrames * inputAudioFormat.bytesPerFrame; in onFlush()
|
D | ChannelMappingAudioProcessor.java | 74 int frameCount = (limit - position) / inputAudioFormat.bytesPerFrame; in queueInput() 75 int outputSize = frameCount * outputAudioFormat.bytesPerFrame; in queueInput() 81 position += inputAudioFormat.bytesPerFrame; in queueInput()
|
D | AudioProcessor.java | 48 public final int bytesPerFrame; field in AudioProcessor.AudioFormat 54 bytesPerFrame = in AudioFormat()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | AudioSampleEntry.java | 61 private long bytesPerFrame; field in AudioSampleEntry 106 return bytesPerFrame; in getBytesPerFrame() 157 public void setBytesPerFrame(long bytesPerFrame) { in setBytesPerFrame() argument 158 this.bytesPerFrame = bytesPerFrame; in setBytesPerFrame() 208 bytesPerFrame = IsoTypeReader.readUInt32(content); in _parseDetails() 236 ", bytesPerFrame=" + bytesPerFrame + in toString() 269 IsoTypeWriter.writeUInt32(byteBuffer, bytesPerFrame); in getContent()
|
/external/oboe/src/fifo/ |
D | FifoBuffer.cpp | 28 FifoBuffer::FifoBuffer(uint32_t bytesPerFrame, uint32_t capacityInFrames) in FifoBuffer() argument 29 : mBytesPerFrame(bytesPerFrame) in FifoBuffer() 36 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer() 41 FifoBuffer::FifoBuffer( uint32_t bytesPerFrame, in FifoBuffer() argument 47 : mBytesPerFrame(bytesPerFrame) in FifoBuffer()
|
D | FifoBuffer.h | 31 FifoBuffer(uint32_t bytesPerFrame, uint32_t capacityInFrames); 33 FifoBuffer(uint32_t bytesPerFrame,
|
/external/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioManager.java | 109 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinOutputFrameSize() local 114 / bytesPerFrame; in getMinOutputFrameSize() 121 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinInputFrameSize() local 126 / bytesPerFrame; in getMinInputFrameSize()
|
D | WebRtcAudioTrack.java | 191 final int bytesPerFrame = channels * (BITS_PER_SAMPLE / 8); in initPlayout() local 192 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * (sampleRate / BUFFERS_PER_SECOND)); in initPlayout()
|
D | WebRtcAudioRecord.java | 265 final int bytesPerFrame = channels * getBytesPerSample(audioFormat); in initRecording() local 267 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * framesPerBuffer); in initRecording()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavExtractor.java | 216 int bytesPerFrame = header.numChannels * header.bitsPerSample / 8; in PassthroughOutputWriter() local 218 if (header.blockSize != bytesPerFrame) { in PassthroughOutputWriter() 220 "Expected block size: " + bytesPerFrame + "; got: " + header.blockSize); in PassthroughOutputWriter() 223 int constantBitrate = header.frameRateHz * bytesPerFrame * 8; in PassthroughOutputWriter() 225 Math.max(bytesPerFrame, header.frameRateHz * bytesPerFrame / TARGET_SAMPLES_PER_SECOND); in PassthroughOutputWriter() 269 int bytesPerFrame = header.blockSize; in sampleData() local 270 int pendingFrames = pendingOutputBytes / bytesPerFrame; in sampleData() 276 int size = pendingFrames * bytesPerFrame; in sampleData()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioManager.java | 340 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinOutputFrameSize() local 345 / bytesPerFrame; in getMinOutputFrameSize() 358 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinInputFrameSize() local 363 / bytesPerFrame; in getMinInputFrameSize()
|
D | WebRtcAudioRecord.java | 241 final int bytesPerFrame = channels * (BITS_PER_SAMPLE / 8); in initRecording() local 243 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * framesPerBuffer); in initRecording()
|
D | WebRtcAudioTrack.java | 223 final int bytesPerFrame = channels * (BITS_PER_SAMPLE / 8); in initPlayout() local 224 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * (sampleRate / BUFFERS_PER_SECOND)); in initPlayout()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessorTest.java | 236 int bytesPerFrame = AUDIO_FORMAT.bytesPerFrame; in process() local 244 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process() 251 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process()
|
D | TrimmingAudioProcessorTest.java | 42 AUDIO_FORMAT.bytesPerFrame * TRACK_ONE_UNTRIMMED_FRAME_COUNT; 45 - AUDIO_FORMAT.bytesPerFrame
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/ |
D | jni_native.c | 39 (JNIEnv *env, jobject obj __unused, jint bytesPerFrame, jint threadType, jint performanceMode) { in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings() argument 49 playerBufferFrameCount * bytesPerFrame, in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings() 50 recorderBufferFrameCount * bytesPerFrame); in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings()
|
D | jni_native.h | 30 (JNIEnv *, jobject, jint bytesPerFrame, jint threadType, jint performanceMode);
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | NativeAudioThread.java | 165 int bytesPerFrame, int threadType, int performanceMode); in nativeComputeDefaultSettings() argument
|