Fix roundoff error setting nsamps; return status rather than nsamps.
Fix roundoff error setting nsamps; return status rather than nsamps.

RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix