Skip to content
Snippets Groups Projects
Commit a5d410e0 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

audio: fix tone creation on iOS

Add value initialization for tones array, otherwise in iOS
behaviour will be undefined.

Change-Id: I604beda02fc4cdc2e6ade94088fdbc2f7d0b9c25
parent afda24d6
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ private:
void buildTones(unsigned int sampleRate);
CountryId countryId_;
std::array<std::shared_ptr<Tone>, (size_t) Tone::ToneId::TONE_NULL> tones_;
std::array<std::shared_ptr<Tone>, (size_t) Tone::ToneId::TONE_NULL> tones_ {};
Tone::ToneId currentTone_;
};
......
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