Use __declspec(dllexport) on mingw build.

Signed-off-by: Gregory Maxwell <greg@xiph.org>
Backport of the new surround API to 1.0.x
Increasing the bitrate of LFE

The 1.0.x branch doesn't have all the LFE optimizations that master has.
Adds some checks to the surround API