Commit a5d410e0 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

audio: fix tone creation on iOS

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

Change-Id: I604beda02fc4cdc2e6ade94088fdbc2f7d0b9c25
parent afda24d6
......@@ -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_;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment