• Home
  • Raw
  • Download

Lines Matching refs:vdef

792         const picoos_char * voiceName, picorsrc_VoiceDefinition * vdef)  in findVoiceDefinition()  argument
804 *vdef = v; in findVoiceDefinition()
817 picorsrc_VoiceDefinition vdef; in picorsrc_addResourceToVoiceDefinition() local
823 if ((PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) && (NULL != vdef)) { in picorsrc_addResourceToVoiceDefinition()
824 if (PICO_MAX_NUM_RSRC_PER_VOICE <= vdef->numResources) { in picorsrc_addResourceToVoiceDefinition()
827 if (picoos_strlcpy(vdef->resourceName[vdef->numResources++], resourceName, in picorsrc_addResourceToVoiceDefinition()
845 picorsrc_VoiceDefinition vdef; in picorsrc_createVoiceDefinition() local
851 if ((PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) && (NULL != vdef)) { in picorsrc_createVoiceDefinition()
860 vdef = picorsrc_newVoiceDefinition(this->common->mm); in picorsrc_createVoiceDefinition()
862 vdef = this->freeVdefs; in picorsrc_createVoiceDefinition()
863 this->freeVdefs = vdef->next; in picorsrc_createVoiceDefinition()
864 vdef->voiceName[0] = NULLC; in picorsrc_createVoiceDefinition()
865 vdef->numResources = 0; in picorsrc_createVoiceDefinition()
866 vdef->next = NULL; in picorsrc_createVoiceDefinition()
868 if (NULL == vdef) { in picorsrc_createVoiceDefinition()
871 if (picoos_strlcpy(vdef->voiceName, voiceName, in picorsrc_createVoiceDefinition()
873 vdef->next = this->vdefs; in picorsrc_createVoiceDefinition()
874 this->vdefs = vdef; in picorsrc_createVoiceDefinition()
931 picorsrc_VoiceDefinition vdef; in picorsrc_createVoice() local
951 if (!(PICO_OK == findVoiceDefinition(this,voiceName,&vdef)) || (NULL == vdef)) { in picorsrc_createVoice()
959 for (i = 0; i < vdef->numResources; i++) { in picorsrc_createVoice()
960 required = (NULLC != vdef->resourceName[i][0]); in picorsrc_createVoice()
961 if (required && !isResourceLoaded(this,vdef->resourceName[i])) { in picorsrc_createVoice()
963 …,PICO_EXC_RESOURCE_MISSING,NULL,(picoos_char *)"resource %s for voice %s",vdef->resourceName[i],vo… in picorsrc_createVoice()
981 for (i = 0; i < vdef->numResources; i++) { in picorsrc_createVoice()
982 required = (NULLC != vdef->resourceName[i][0]); in picorsrc_createVoice()
984 findResource(this,vdef->resourceName[i],&rsrc); in picorsrc_createVoice()