summaryrefslogtreecommitdiffstats
path: root/pulse/pcm_pulse.c
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 02:00:58 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:06:58 +0100
commite4ce5402202d983a84d01555445eeb23e5a9268f (patch)
tree60bf00769c4f8d0e669cf8fef218e9e663e5ea18 /pulse/pcm_pulse.c
parent0a957ec80e3184cd4cf76a0ec4e070e59d027f8c (diff)
[RFC] Don't use pow() for calculating a power of 2, use shift instead.
This assumes that the power2 argument is in the 0-32 range, so this need to be carefully checked. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'pulse/pcm_pulse.c')
0 files changed, 0 insertions, 0 deletions