STSaveAudioParams Struct Reference
| Declared in | STMediaParams_doc.h |
Tasks
-
fileTypepropertyThe recording audio file type. Options are “wav”, “caf” and “m4a”. Default value: “wav”.
-
fileBaseNamepropertyThis parameter specifies the file base name saving speech recognition audio utterances.
-
filePathpropertyThis parameter specifies the file path for saving speech recognition audio utterances.
-
audioFormatpropertyThe audio format of the recorded audio. If not specified, the audio format of the recorded audio is the audio format of the source audio.
-
requestIDpropertyThis parameter specifies a requestor ID that is included in the file base name for saving speech recognition audio utterances.
-
logTimeStamppropertyThis parameter specifies whether or not to include a time stamp in the file base name for saving speech recognition audio utterances. Default: false.
Properties
audioFormat
var STAudioFormat: STAudioFormat?
Discussion
The audio format of the recorded audio. If not specified, the audio format of the recorded audio is the audio format of the source audio.
Declared In
STMediaParams_doc.h
fileBaseName
var fileBaseName: String = ""
Discussion
This parameter specifies the file base name saving speech recognition audio utterances.
Declared In
STMediaParams_doc.h
filePath
var filePath: String = ""
Discussion
This parameter specifies the file path for saving speech recognition audio utterances.
Declared In
STMediaParams_doc.h
fileType
var fileType: String = "wav"
Discussion
The recording audio file type. Options are “wav”, “caf” and “m4a”. Default value: “wav”.
Declared In
STMediaParams_doc.h