This swaps the order of the input and output pointers so that it's consistent with the order used by memcpy().
With this change, mini_al will automatically switch the internal device to that of the new default device when the user changes it via the operating system's sound preferences.