Searched refs:SHIFT (Results 1 – 1 of 1) sorted by relevance
27 #define SHIFT 11 macro28 #define BITS (1<<SHIFT)194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames()196 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_src_frames()227 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_dst_frames()229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames()333 data->pitch = ((src_format->rate << SHIFT) + (dst_format->rate >> 1)) / dst_format->rate; in snd_pcm_plugin_build_rate()336 data->pitch = ((dst_format->rate << SHIFT) + (src_format->rate >> 1)) / src_format->rate; in snd_pcm_plugin_build_rate()