Skip to content
Snippets Groups Projects
Commit f0d36f5a authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

fix audio-linter warning

parent b241f3b9
No related branches found
No related tags found
Loading
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment