void function ( ) { if ( outputType . equals ( MaryDataType . AUDIO ) ) { if ( getAvailableVoices ( locale ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "srini_string" + locale ) ; } } }
synthesis will fail if marydatatype #audio audio is requested but no voice is available for the requested locale.moreover , the @linkplain #audiofileformat will be null because @linkplain #setaudiofileformatforvoice silentlyignores if @linkplain #voice is null . concode_field_sep Voice voice concode_elem_sep String effects concode_elem_sep String outputTypeParams concode_elem_sep boolean isStreaming concode_elem_sep MaryDataType outputType concode_elem_sep MaryDataType inputType concode_elem_sep String style concode_elem_sep Locale locale concode_elem_sep AudioFileFormat audioFileFormat concode_field_sep String getOutputType concode_elem_sep String getInputType concode_elem_sep void verifyInputTypeIsText concode_elem_sep boolean isStreamingAudio concode_elem_sep void setAudioEffects concode_elem_sep Set<String> getAvailableVoices concode_elem_sep Set<String> getAvailableVoices concode_elem_sep String getStyle concode_elem_sep boolean isAudioType concode_elem_sep String getAudioEffects concode_elem_sep void setStyle concode_elem_sep void setOutputTypeParams concode_elem_sep void setInputType concode_elem_sep Set<String> getAvailableOutputTypes concode_elem_sep Set<Locale> getAvailableLocales concode_elem_sep void init concode_elem_sep MaryData process concode_elem_sep void setStreamingAudio concode_elem_sep MaryData getMaryDataFromXML concode_elem_sep void setOutputType concode_elem_sep String getOutputTypeParams concode_elem_sep void verifyInputTypeIsXML concode_elem_sep void verifyOutputTypeIsText concode_elem_sep String getVoice concode_elem_sep String generateText concode_elem_sep String generateText concode_elem_sep void setVoice concode_elem_sep void verifyOutputTypeIsXML concode_elem_sep void verifyOutputTypeIsAudio concode_elem_sep AudioInputStream generateAudio concode_elem_sep AudioInputStream generateAudio concode_elem_sep MaryData getMaryDataFromText concode_elem_sep boolean isTextType concode_elem_sep Document generateXML concode_elem_sep Document generateXML concode_elem_sep void setAudioFileFormatForVoice concode_elem_sep void setReasonableDefaults concode_elem_sep Locale getLocale concode_elem_sep void setLocale concode_elem_sep boolean isXMLType concode_elem_sep Set<String> getAvailableInputTypes