Added audio output detection