move all the gstreamer stuff into AudioManager class