This fixes the tests/dev/audio test on my macppc box. While I'm here, use le16dec()/be16dec() directly instead of rewriting them.