Is it possible to send sound not to a loudspeaker, but to an ear, which is used when you speak on the phone?
Also, is there a possibility to get sound from a mic? I don’t mean I really want to analyze it somehow, but at least to be able to register the loudness.
This would be very platform dependent, maybe it is worth taking a look