Replace Phonon with libvlc directly

How does Phonon do it?