locking here is causing deadlock when the play button is pressed, but
commenting out this line (so far) prevents that and music can actually
play.