diff --git a/plugins/spu2-x/src/SndOut_SDL.cpp b/plugins/spu2-x/src/SndOut_SDL.cpp index b37693090f..4e3c63dad4 100644 --- a/plugins/spu2-x/src/SndOut_SDL.cpp +++ b/plugins/spu2-x/src/SndOut_SDL.cpp @@ -108,21 +108,10 @@ struct SDLAudioMod : public SndOutModule { private: SDL_AudioSpec spec; - /* Only C++11 supports the aggregate initializer list syntax used here. */ SDLAudioMod() -#if __cplusplus >= 201103L : spec({SampleRate, format, channels, 0, desiredSamples, 0, 0, &callback_fillBuffer, nullptr}) -#endif { -#if __cplusplus >= 201103L - spec.freq = SampleRate; - spec.format = format; - spec.channels = channels; - spec.samples = desiredSamples; - spec.callback = callback_fillBuffer; - spec.userdata = NULL; -#endif // Number of samples must be a multiple of packet size. assert(samples % SndOutPacketSize == 0); }