121
121
TelephoneTone::TelephoneTone (const std::string& countryName, unsigned int sampleRate) :
125
127
ToneList::COUNTRYID countryId = _toneList.getCountryId (countryName);
126
128
_tone[Tone::TONE_DIALTONE] = new Tone (_toneList.getDefinition (countryId, Tone::TONE_DIALTONE), sampleRate);
127
129
_tone[Tone::TONE_BUSY] = new Tone (_toneList.getDefinition (countryId, Tone::TONE_BUSY), sampleRate);