Searched refs:BUFFERS_PER_SECOND (Results 1 – 4 of 4) sorted by relevance
39 private static final int BUFFERS_PER_SECOND = 1000 / CALLBACK_BUFFER_SIZE_MS; field in WebRtcAudioRecord242 final int framesPerBuffer = sampleRate / BUFFERS_PER_SECOND; in initRecording()
41 private static final int BUFFERS_PER_SECOND = 1000 / CALLBACK_BUFFER_SIZE_MS; field in WebRtcAudioTrack224 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * (sampleRate / BUFFERS_PER_SECOND)); in initPlayout()
42 private static final int BUFFERS_PER_SECOND = 1000 / CALLBACK_BUFFER_SIZE_MS; field in WebRtcAudioTrack192 byteBuffer = ByteBuffer.allocateDirect(bytesPerFrame * (sampleRate / BUFFERS_PER_SECOND)); in initPlayout()
50 private static final int BUFFERS_PER_SECOND = 1000 / CALLBACK_BUFFER_SIZE_MS; field in WebRtcAudioRecord266 final int framesPerBuffer = sampleRate / BUFFERS_PER_SECOND; in initRecording()