UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 1.07 kB
{"version":3,"sources":["src/common.speech/ServiceMessages/Synthesis/SynthesisContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAE1C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB","file":"SynthesisContext.d.ts","sourcesContent":["//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\n\nimport { OnError } from \"./OnError\";\n\n/**\n * The json paylaod for synthesis context in speech.context\n */\nexport interface SynthesisContext {\n /**\n * The voices.\n */\n defaultVoices?: { [key: string]: string };\n\n /**\n * The target languages for which synthesis should be generated.\n * Defaults to all, if list is omitted or empty.\n */\n synthesizedLanguages?: string[];\n\n /**\n * The on error.\n */\n onError?: OnError;\n}\n"]}