mplayer headphones function