• Pete Beardmore's avatar
    MultipleOutputs: ensure input_audio_format is zero-initialised · d0cd98a6
    Pete Beardmore authored
    -fixes SIGABRT when mpd is started from a previously paused state
    -regression introduced by commit: f5a923b9:
    'OutputAll: convert to class, move instance to class Partition'
    
    -input_audio_format was previously declared using the static modifier
    ensuring it was zero-initialised by default
    -the current default-initialised input_audio_format contains garbage at
    runtime which allows the AudioFormat.IsDefined() 'fail fast' test in
    MultipleOutputs::Update to pass and the SIGABRT follows in
    AudioOutput::Open when passed the invalid input_audio_format struct
    -switching AudioFormat.IsDefined() for AudioFormat.IsValid() is an
    alternative workaround
    d0cd98a6
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...