Fix audio_driver initialisation to avoid problem with uninitialised variables and reduce the memory leakage.