Searched refs:BYTES_PER_FRAME (Results 1 – 7 of 7) sorted by relevance
173 getApp().getPlayerBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in onCreate()180 getApp().setPlayerBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()184 getApp().setRecorderBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()195 getApp().getRecorderBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in onCreate()202 getApp().setRecorderBufferSizeInBytes(value * Constant.BYTES_PER_FRAME); in onCreate()288 mPlayerBufferUI.setValue(getApp().getPlayerBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in refresh()290 getApp().getRecorderBufferSizeInBytes() / Constant.BYTES_PER_FRAME); in refresh()
178 short loopbackTone[] = new short[mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME]; in run()186 mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME)); in run()192 mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME, mMicSource, in run()
40 public static final int BYTES_PER_FRAME = 2; // bytes per sample field in Constant
600 b.getInt(INTENT_RECORDER_BUFFER) * Constant.BYTES_PER_FRAME); in applyIntent()606 b.getInt(INTENT_PLAYER_BUFFER) * Constant.BYTES_PER_FRAME); in applyIntent()834 / (Constant.BYTES_PER_FRAME * mSamplingRate)); in restartAudioSystem()841 / (Constant.BYTES_PER_FRAME * mSamplingRate)); in restartAudioSystem()1530 int recorderBufferSizeInFrames = mRecorderBufferSizeInBytes / Constant.BYTES_PER_FRAME; in onButtonRecorderBufferPeriod()1560 int playerBufferSizeInFrames = mPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in onButtonPlayerBufferPeriod()1683 int playerFrames = mPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in refreshState()1684 int recorderFrames = mRecorderBufferSizeInBytes / Constant.BYTES_PER_FRAME; in refreshState()1979 Constant.BYTES_PER_FRAME + endline); in getReport()1981 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()
360 int minBufferSizeInBytes = Constant.BYTES_PER_FRAME * minBufferSizeInFrames; in computeDefaults()
118 mMinPlayerBufferSizeSamples = mMinPlayerBufferSizeInBytes / Constant.BYTES_PER_FRAME; in run()