Qt: added audio looping and gain effect for CocosDenshion.

Pitch code disabled because Qt on gstreamer backend fails to play sound
when it's pitch differs from 1.0.