diff --git a/include/fggl/audio/audio.hpp b/include/fggl/audio/audio.hpp index 12abe714e95b00ce888d2fbfdcd02068c9e951b7..e0d05be176f95860b4c5d363635852ed7cef8bdf 100644 --- a/include/fggl/audio/audio.hpp +++ b/include/fggl/audio/audio.hpp @@ -27,10 +27,10 @@ namespace fggl::audio { * If the sampleCount is -1, the clip is invalid. */ struct AudioClip { - int channels; - int sampleRate; - int sampleCount; - short* data; + int channels = 0; + int sampleRate = 0; + int sampleCount = -1; + short* data = nullptr; }; constexpr modules::ModuleService SERVICE_AUDIO_PLAYBACK = modules::make_service("fggl::audio::AudioService");