AudioOutputConfig Class
Represents specific audio configuration, such as audio output device, file, or custom audio streams
Generates an audio configuration for the speech synthesizer. Only one argument can be passed at a time.
- Inheritance
-
builtins.objectAudioOutputConfig
Constructor
AudioOutputConfig(use_default_speaker: bool = False, filename: str | None = None, stream: AudioOutputStream | None = None, device_name: str | None = None)
Parameters
Name | Description |
---|---|
use_default_speaker
|
Specifies to use the system default speaker for audio output. Default value: False
|
filename
|
Specifies an audio output file. The parent directory must already exist. Default value: None
|
stream
|
Creates an AudioOutputConfig object representing the specified stream. Default value: None
|
device_name
|
Specifies the id of the audio device to use. This functionality was added in version 1.17.0. Default value: None
|
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python