Searched refs:bytes_per_sample (Results 1 – 3 of 3) sorted by relevance
68 const size_t bytes_per_sample = audio_bytes_per_sample(mFormat); in log() local106 buffer = (const uint8_t *)buffer + mCurrentFrames * mChannelCount * bytes_per_sample; in log()
189 int bytes_per_sample; in calc_audiotime_usec() local193 bytes_per_sample = 1; in calc_audiotime_usec()196 bytes_per_sample = 2; in calc_audiotime_usec()199 bytes_per_sample = 3; in calc_audiotime_usec()202 bytes_per_sample = 4; in calc_audiotime_usec()205 bytes_per_sample = 4; in calc_audiotime_usec()209 bytes_per_sample = 2; in calc_audiotime_usec()214 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
205 int bytes_per_sample; in calc_audiotime_usec() local209 bytes_per_sample = 1; in calc_audiotime_usec()212 bytes_per_sample = 2; in calc_audiotime_usec()215 bytes_per_sample = 3; in calc_audiotime_usec()218 bytes_per_sample = 4; in calc_audiotime_usec()221 bytes_per_sample = 4; in calc_audiotime_usec()225 bytes_per_sample = 2; in calc_audiotime_usec()230 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()