comparison stream/ai_alsa1x.c @ 33736:a5a54c7a15ce

Fix the precision loss in float -> 32bit conversion case, introduced by my earlier commit. Instead use method proposed by Reimar. Also, avoid using ldexp, it is slower than multiply with constant.
author iive
date Wed, 06 Jul 2011 23:35:39 +0000
parents ce0122361a39
children 277ec491a8a7
comparison
equal deleted inserted replaced
33735:84defaf2e7f8 33736:a5a54c7a15ce