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()
822 int frameSizeInBytes; in AudioTrack() local824 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()826 frameSizeInBytes = 1; in AudioTrack()828 mOffset = ((int) Math.ceil(HEADER_V2_SIZE_BYTES / frameSizeInBytes)) * frameSizeInBytes; in AudioTrack()1777 int frameSizeInBytes; in audioBuffSizeCheck() local1779 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()1781 frameSizeInBytes = 1; in audioBuffSizeCheck()1783 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()1788 mNativeBufferSizeInFrames = audioBufferSize / frameSizeInBytes; in audioBuffSizeCheck()
872 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck() local874 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()876 + " (frame size " + frameSizeInBytes + ")"); in audioBuffSizeCheck()