• Nix's avatar
    Output: start with a null mixer. · 811af02f
    Nix authored
    There are code paths (mostly error cases) in which it is possible to
    initialize an AudioOutput and then kill it without ever calling
    audio_output_new().  In such a case, its destructor will attempt to
    free a mixer that was never initialized, leading to an attempt to
    take out a lock on a mutex that was similarly never initialized,
    which hangs forever.
    
    Fix by always initializing the mixer appropriately.
    811af02f
Name
Last commit
Last update
..
plugins Loading commit data...
Domain.cxx Loading commit data...
Domain.hxx Loading commit data...
Finish.cxx Loading commit data...
Init.cxx Loading commit data...
Internal.hxx Loading commit data...
MultipleOutputs.cxx Loading commit data...
MultipleOutputs.hxx Loading commit data...
OutputAPI.hxx Loading commit data...
OutputCommand.cxx Loading commit data...
OutputCommand.hxx Loading commit data...
OutputControl.cxx Loading commit data...
OutputControl.hxx Loading commit data...
OutputPlugin.cxx Loading commit data...
OutputPlugin.hxx Loading commit data...
OutputPrint.cxx Loading commit data...
OutputPrint.hxx Loading commit data...
OutputState.cxx Loading commit data...
OutputState.hxx Loading commit data...
OutputThread.cxx Loading commit data...
Registry.cxx Loading commit data...
Registry.hxx Loading commit data...
Timer.cxx Loading commit data...
Timer.hxx Loading commit data...