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
No related merge requests found
...@@ -27,10 +27,10 @@ namespace fggl::audio { ...@@ -27,10 +27,10 @@ namespace fggl::audio {
* If the sampleCount is -1, the clip is invalid. * If the sampleCount is -1, the clip is invalid.
*/ */
struct AudioClip { struct AudioClip {
int channels; int channels = 0;
int sampleRate; int sampleRate = 0;
int sampleCount; int sampleCount = -1;
short* data; short* data = nullptr;
}; };
constexpr modules::ModuleService SERVICE_AUDIO_PLAYBACK = modules::make_service("fggl::audio::AudioService"); 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