@@ -136,21 +136,21 @@ void CVoice::linkedTo(unsigned int number, unsigned int room)
136
136
::sprintf (letters, " %03u" , number);
137
137
138
138
std::vector<std::string> words;
139
- if (m_positions.count (" linkedto" ) == 0U ) {
140
- words.push_back (" linked" );
141
- words.push_back (" 2" );
142
- } else {
143
- words.push_back (" linkedto" );
144
- }
139
+ if (m_positions.count (" linkedto" ) == 0U ) {
140
+ words.push_back (" linked" );
141
+ words.push_back (" 2" );
142
+ } else {
143
+ words.push_back (" linkedto" );
144
+ }
145
145
words.push_back (" X" );
146
146
words.push_back (" L" );
147
147
words.push_back (" X" );
148
148
words.push_back (std::string (1U , letters[0U ]));
149
149
words.push_back (std::string (1U , letters[1U ]));
150
150
words.push_back (std::string (1U , letters[2U ]));
151
151
152
- // 4001 => 1 => A, 4002 => 2 => B, etc.
153
- room %= 100U ;
152
+ // 4001 => 1 => A, 4002 => 2 => B, etc.
153
+ room %= 100U ;
154
154
155
155
if (room >= 1U && room <= 26U )
156
156
words.push_back (std::string (1U , ' A' + room - 1U ));
@@ -185,9 +185,9 @@ void CVoice::createVoice(const std::vector<std::string>& words)
185
185
ambeLength = frames * (3U * AMBE_LENGTH);
186
186
}
187
187
188
- // Add space for silence before and after the voice
189
- ambeLength += SILENCE_LENGTH * AMBE_LENGTH;
190
- ambeLength += SILENCE_LENGTH * AMBE_LENGTH;
188
+ // Add space for silence before and after the voice
189
+ ambeLength += SILENCE_LENGTH * AMBE_LENGTH;
190
+ ambeLength += SILENCE_LENGTH * AMBE_LENGTH;
191
191
192
192
unsigned char * ambeData = new unsigned char [ambeLength];
193
193
0 commit comments