Searched refs:frameSizeInBytes (Results 1 – 2 of 2) sorted by relevance
1037 int frameSizeInBytes = 1; in AudioFormat() local1039 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()1045 mFrameSizeInBytes = frameSizeInBytes != 0 ? frameSizeInBytes : 1; in AudioFormat()
893 int frameSizeInBytes; in AudioTrack() local895 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()897 frameSizeInBytes = 1; in AudioTrack()899 mOffset = ((int) Math.ceil(HEADER_V2_SIZE_BYTES / frameSizeInBytes)) * frameSizeInBytes; in AudioTrack()2012 int frameSizeInBytes; in audioBuffSizeCheck() local2014 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()2016 frameSizeInBytes = 1; in audioBuffSizeCheck()2018 if ((audioBufferSize % frameSizeInBytes != 0) || (audioBufferSize < 1)) { in audioBuffSizeCheck()2023 mNativeBufferSizeInFrames = audioBufferSize / frameSizeInBytes; in audioBuffSizeCheck()