I've not used a DR40x, but in general you won't want to use the built in mics on any recorder when listening to speaker output.
With digital instruments, you want as few 'translations' as possible, so always direct out into a recorder (unless you're just trying to capture ambient sound, that would be the exception)
Mark