Searched refs:frameSizeInBytes (Results 1 – 3 of 3) sorted by relevance
722 int frameSizeInBytes = 1; in AudioFormat() local724 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()730 mFrameSizeInBytes = frameSizeInBytes != 0 ? frameSizeInBytes : 1; in AudioFormat()
676 int frameSizeInBytes; in AudioTrack() local678 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()680 frameSizeInBytes = 1; in AudioTrack()682 mOffset = ((int) Math.ceil(HEADER_V2_SIZE_BYTES / frameSizeInBytes)) * frameSizeInBytes; in AudioTrack()1384 int frameSizeInBytes; in audioBuffSizeCheck() local1386 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()1388 frameSizeInBytes = 1; in audioBuffSizeCheck()1390 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()1395 mNativeBufferSizeInFrames = audioBufferSize / frameSizeInBytes; in audioBuffSizeCheck()
816 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck() local818 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()820 + " (frame size " + frameSizeInBytes + ")"); in audioBuffSizeCheck()