For audio_provider_ and client_ I'd recommending using a smart pointer (either std::unique_ptr (preferred) or QScopedPointer)