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()
188 int bytes_per_sample; in calc_audiotime_usec() local192 bytes_per_sample = 1; in calc_audiotime_usec()195 bytes_per_sample = 2; in calc_audiotime_usec()198 bytes_per_sample = 3; in calc_audiotime_usec()201 bytes_per_sample = 4; in calc_audiotime_usec()204 bytes_per_sample = 4; in calc_audiotime_usec()208 bytes_per_sample = 2; in calc_audiotime_usec()213 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
204 int bytes_per_sample; in calc_audiotime_usec() local208 bytes_per_sample = 1; in calc_audiotime_usec()211 bytes_per_sample = 2; in calc_audiotime_usec()214 bytes_per_sample = 3; in calc_audiotime_usec()217 bytes_per_sample = 4; in calc_audiotime_usec()220 bytes_per_sample = 4; in calc_audiotime_usec()224 bytes_per_sample = 2; in calc_audiotime_usec()229 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()