The person is walking in his own world thanks to his music apparently oblivious to the neighborhood around him.
A man in headphones is walking down the street ignoring everyone who greets him.
You can not infer he has headphones.
(-x)
(-x)