• Home
  • Raw
  • Download

Lines Matching refs:voiceName

170     picoos_char voiceName[PICO_MAX_VOICE_NAME_SIZE];  member
183 this->voiceName[0] = NULLC; in picorsrc_newVoiceDefinition()
792 const picoos_char * voiceName, picorsrc_VoiceDefinition * vdef) in findVoiceDefinition() argument
795 PICODBG_DEBUG(("finding voice name %s",voiceName)); in findVoiceDefinition()
800 while (NULL != v && (0 != picoos_strcmp(v->voiceName,voiceName))) { in findVoiceDefinition()
801 PICODBG_DEBUG(("%s doesnt match",v->voiceName)); in findVoiceDefinition()
806 PICODBG_DEBUG(("didnt find voice name %s",voiceName)); in findVoiceDefinition()
808 PICODBG_DEBUG(("found voice name %s",voiceName)); in findVoiceDefinition()
815 picoos_char * voiceName, picoos_char * resourceName) in picorsrc_addResourceToVoiceDefinition() argument
823 if ((PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) && (NULL != vdef)) { in picorsrc_addResourceToVoiceDefinition()
829 PICODBG_DEBUG(("vdef added resource '%s' to voice '%s'",resourceName,voiceName)); in picorsrc_addResourceToVoiceDefinition()
837 …coos_emRaiseException(this->common->em,PICO_EXC_NAME_UNDEFINED,NULL,(picoos_char *)"%s",voiceName); in picorsrc_addResourceToVoiceDefinition()
843 picoos_char * voiceName) in picorsrc_createVoiceDefinition() argument
851 if ((PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) && (NULL != vdef)) { in picorsrc_createVoiceDefinition()
852 PICODBG_ERROR(("voice %s allready defined",voiceName)); in picorsrc_createVoiceDefinition()
864 vdef->voiceName[0] = NULLC; in picorsrc_createVoiceDefinition()
871 if (picoos_strlcpy(vdef->voiceName, voiceName, in picorsrc_createVoiceDefinition()
876 …if (PICO_OK != picorsrc_addResourceToVoiceDefinition(this,voiceName,PICOKNOW_DEFAULT_RESOURCE_NAME… in picorsrc_createVoiceDefinition()
877 …is->common->em,PICO_ERR_OTHER,NULL,(picoos_char *)"problem loading default resource %s",voiceName); in picorsrc_createVoiceDefinition()
879 PICODBG_DEBUG(("vdef created (%s)",voiceName)); in picorsrc_createVoiceDefinition()
882 PICODBG_ERROR(("illegal name (%s)",voiceName)); in picorsrc_createVoiceDefinition()
883 …picoos_emRaiseException(this->common->em,PICO_EXC_NAME_ILLEGAL,NULL,(picoos_char *)"%s",voiceName); in picorsrc_createVoiceDefinition()
889 picoos_char *voiceName) in picorsrc_releaseVoiceDefinition() argument
899 while ((v != NULL) && (picoos_strcmp(v->voiceName, voiceName) != 0)) { in picorsrc_releaseVoiceDefinition()
929 pico_status_t picorsrc_createVoice(picorsrc_ResourceManager this, const picoos_char * voiceName, pi… in picorsrc_createVoice() argument
937 PICODBG_DEBUG(("creating voice %s",voiceName)); in picorsrc_createVoice()
951 if (!(PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) || (NULL == vdef)) { in picorsrc_createVoice()
952 PICODBG_ERROR(("no voice definition for %s",voiceName)); in picorsrc_createVoice()
953 …tion(this->common->em,PICO_EXC_NAME_UNDEFINED,NULL,(picoos_char *)"voice definition %s",voiceName); in picorsrc_createVoice()
956 PICODBG_DEBUG(("found voice definition for %s",voiceName)); in picorsrc_createVoice()
963 …C_RESOURCE_MISSING,NULL,(picoos_char *)"resource %s for voice %s",vdef->resourceName[i],voiceName); in picorsrc_createVoice()