Director Rouben Mamoulian in City Streets (1931) introduced the use of “subjective sound”, a voice-over showing what a character is thinking.
While Sylvia Sidney lay alone in bed, she “remembered” what Gary Cooper had said to her earlier, and Gary Cooper’s voice was heard on the soundtrack.