Just don"t have your music on too loud so you can"t hear the dealer or other announcements at the table.
It is bad etiquette to not be able to hear what"s going on so that it slows the game down if you have to ask "what is the bet", "is that a raise", etc. In fact, a lot of people make mistakes (sometimes costly ones) because of this.
If I listen to music when I"m playing, I tend to just put one ear-piece in, and even then I don"t have the music on too loud. You can miss out on a lot of information.