Is the underlined participial phrase correctly placed or misplaced?

The audience listened to the musician playing an electric guitar.

Underlined words: playing an electric guitar.
A.
misplaced participial phrase

B.
correctly placed participial phrase