Searched refs:BYTES_PER_FRAME (Results 1 – 7 of 7) sorted by relevance
192 getApp().getPlayerBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in onCreate()199 getApp().setPlayerBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()203 getApp().setRecorderBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()214 getApp().getRecorderBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in onCreate()221 getApp().setRecorderBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()323 mPlayerBufferUI.setValue(getApp().getPlayerBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in refresh()325 getApp().getRecorderBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in refresh()
101 Constant.BYTES_PER_FRAME, threadType, performanceMode); in computeDefaultSettings()113 int minBufferSizeInBytes = Constant.BYTES_PER_FRAME * minBufferSizeInFrames; in computeDefaultSettings()212 short loopbackTone[] = new short[mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME]; in run()221 mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME)); in run()227 mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME, mMicSource, in run()
46 public static final int BYTES_PER_FRAME = 2; // bytes per sample field in Constant
699 b.getInt(INTENT_RECORDER_BUFFER) * Constant.BYTES_PER_FRAME); in applyIntent()705 b.getInt(INTENT_PLAYER_BUFFER) * Constant.BYTES_PER_FRAME); in applyIntent()945 / (Constant.BYTES_PER_FRAME * mSamplingRate)); in restartAudioSystem()952 / (Constant.BYTES_PER_FRAME * mSamplingRate)); in restartAudioSystem()1710 int recorderBufferSizeInFrames = mRecorderBufferSizeInBytes / Constant.BYTES_PER_FRAME; in onButtonRecorderBufferPeriod()1741 int playerBufferSizeInFrames = mPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in onButtonPlayerBufferPeriod()1874 int playerFrames = mPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in refreshState()1875 int recorderFrames = mRecorderBufferSizeInBytes / Constant.BYTES_PER_FRAME; in refreshState()2186 Constant.BYTES_PER_FRAME + endline); in getReport()2188 Constant.BYTES_PER_FRAME + endline); in getReport()
128 mMinRecorderBuffSizeInSamples = mMinRecorderBuffSizeInBytes / Constant.BYTES_PER_FRAME; in initRecord()189 mMinRecorderBuffSizeInSamples = mMinRecorderBuffSizeInBytes / Constant.BYTES_PER_FRAME; in initBufferRecord()
128 mMinPlayerBufferSizeSamples = mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in run()
35 public static final int BYTES_PER_FRAME = SAMPLES_PER_FRAME * BYTES_PER_SAMPLE; field in SimpleAudioOutput157 builder.setBufferSizeInBytes(bufferSizeInFrames * BYTES_PER_FRAME); in createAudioTrack()