Skip to content
Snippets Groups Projects
Commit 8f97ffb0 authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

preferences: cleanup

Change-Id: Ibb08cc5363e6e5964856b30f6a899f5b25e56341
parent f6dc68db
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ static constexpr const char* DECODING_ACCELERATED_KEY {"decodingAccelerated"};
static constexpr const char* ENCODING_ACCELERATED_KEY {"encodingAccelerated"};
#endif
static constexpr const char* DFT_PULSE_LENGTH_STR {"250"}; /** Default DTMF length */
static constexpr int PULSE_LENGTH_DEFAULT {250}; /** Default DTMF length */
#ifndef _MSC_VER
static constexpr const char* ALSA_DFT_CARD {"0"}; /** Default sound card index */
#else
......@@ -239,7 +239,7 @@ void Preferences::unserialize(const YAML::Node &in)
VoipPreference::VoipPreference() :
playDtmf_(true)
, playTones_(true)
, pulseLength_(atoi(DFT_PULSE_LENGTH_STR))
, pulseLength_(PULSE_LENGTH_DEFAULT)
, symmetricRtp_(true)
{}
......
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