Home
last modified time | relevance | path

Searched refs:frameSizeInBytes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioTrack.java946 int frameSizeInBytes; in audioBuffSizeCheck() local
948 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
950 frameSizeInBytes = 1; in audioBuffSizeCheck()
952 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()
957 mNativeBufferSizeInFrames = audioBufferSize / frameSizeInBytes; in audioBuffSizeCheck()
DAudioRecord.java722 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck() local
724 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()