Use your sound card as input device and connect it to your walkman or cassette deck. Modern sound cards do not have input (only output). In this case, buy cheap USB audio converter. - connect walkman to external audio system (or put headphone close to smartphone microphone).
eBay