output/MultipleOutputs: use C++11 initializers
This commit is contained in:
parent
e8121fdc11
commit
4c6619e6c5
|
@ -36,10 +36,7 @@
|
|||
#include <string.h>
|
||||
|
||||
MultipleOutputs::MultipleOutputs(MixerListener &_mixer_listener)
|
||||
:mixer_listener(_mixer_listener),
|
||||
input_audio_format(AudioFormat::Undefined()),
|
||||
buffer(nullptr), pipe(nullptr),
|
||||
elapsed_time(SignedSongTime::Negative())
|
||||
:mixer_listener(_mixer_listener)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -49,24 +49,24 @@ class MultipleOutputs {
|
|||
|
||||
std::vector<AudioOutput *> outputs;
|
||||
|
||||
AudioFormat input_audio_format;
|
||||
AudioFormat input_audio_format = AudioFormat::Undefined();
|
||||
|
||||
/**
|
||||
* The #MusicBuffer object where consumed chunks are returned.
|
||||
*/
|
||||
MusicBuffer *buffer;
|
||||
MusicBuffer *buffer = nullptr;
|
||||
|
||||
/**
|
||||
* The #MusicPipe object which feeds all audio outputs. It is
|
||||
* filled by audio_output_all_play().
|
||||
*/
|
||||
MusicPipe *pipe;
|
||||
MusicPipe *pipe = nullptr;
|
||||
|
||||
/**
|
||||
* The "elapsed_time" stamp of the most recently finished
|
||||
* chunk.
|
||||
*/
|
||||
SignedSongTime elapsed_time;
|
||||
SignedSongTime elapsed_time = SignedSongTime::Negative();
|
||||
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue