Searched refs:frameSizeInBytes (Results 1 – 2 of 2) sorted by relevance
640 int frameSizeInBytes; in AudioTrack() local642 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()644 frameSizeInBytes = 1; in AudioTrack()646 mOffset = ((int) Math.ceil(HEADER_V2_SIZE_BYTES / frameSizeInBytes)) * frameSizeInBytes; in AudioTrack()1202 int frameSizeInBytes; in audioBuffSizeCheck() local1204 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()1206 frameSizeInBytes = 1; in audioBuffSizeCheck()1208 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()1213 mNativeBufferSizeInFrames = audioBufferSize / frameSizeInBytes; in audioBuffSizeCheck()
728 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck() local730 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()732 + " (frame size " + frameSizeInBytes + ")"); in audioBuffSizeCheck()