equal
deleted
inserted
replaced
459 // |
459 // |
460 void CSpeechSynthesisServer::GetSupportedVoicesL( TLanguage aLanguage, |
460 void CSpeechSynthesisServer::GetSupportedVoicesL( TLanguage aLanguage, |
461 RArray<TVoice>& aVoices ) |
461 RArray<TVoice>& aVoices ) |
462 { |
462 { |
463 RUBY_DEBUG_BLOCK( "CSpeechSynthesisServer::GetSupportedVoicesL" ); |
463 RUBY_DEBUG_BLOCK( "CSpeechSynthesisServer::GetSupportedVoicesL" ); |
|
464 CleanupClosePushL( aVoices ); |
464 |
465 |
465 UpdateSynthesisConfigurationIfNeededL(); |
466 UpdateSynthesisConfigurationIfNeededL(); |
466 |
467 |
467 TVoice voice; |
468 TVoice voice; |
468 |
469 |
475 voice.iSamplingRate = iTtsVoiceConfigs[i].iSamplingRate; |
476 voice.iSamplingRate = iTtsVoiceConfigs[i].iSamplingRate; |
476 |
477 |
477 aVoices.AppendL( voice ); |
478 aVoices.AppendL( voice ); |
478 } |
479 } |
479 } |
480 } |
|
481 CleanupStack::Pop(); |
480 } |
482 } |
481 |
483 |
482 // ---------------------------------------------------------------------------- |
484 // ---------------------------------------------------------------------------- |
483 // CSpeechSynthesisServer::SetVoiceL |
485 // CSpeechSynthesisServer::SetVoiceL |
484 // |
486 // |