STSSRecordParams Struct Reference
| Declared in | STMediaParams_doc.h |
Tasks
-
enablepropertyEnable recording snynthesized audio to a file. Default value: false.
-
offlineModepropertyOffline mode. If true then synthesized audio is not played to a device. Default value: false.
-
recordInsertedSilencepropertyEnables recording inserted silence that is controlled by STSSPlayParams. If true then recorded synthesized audio will contain any silences configured in STSSPlayParams. Default value: false.
-
fileTypepropertyThe recording audio file type. Options are “wav”, “caf” and “m4a”. Default value: “wav”.
-
baseFileNamepropertyThe file base name. “.” followed by file type is appended to file base name. If not specified then “RecordSS_
-
fileURLPathpropertyThe file URL path location where the file will be saved. File URL path location must be specified.
-
audioFormatpropertyThe audio format of the recorded synthesized audio. If not specified, the audio format of the recorded audio is the audio format generated by the Speech Synthesis voice.
Properties
audioFormat
var audioFormat: STAudioFormat?
Discussion
The audio format of the recorded synthesized audio. If not specified, the audio format of the recorded audio is the audio format generated by the Speech Synthesis voice.
Declared In
STMediaParams_doc.h
baseFileName
var baseFileName: String = ""
Discussion
The file base name. “.” followed by file type is appended to file base name. If not specified then “RecordSS_
Declared In
STMediaParams_doc.h
enable
var enable: Bool = false
Discussion
Enable recording snynthesized audio to a file. Default value: false.
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
fileURLPath
var fileURLPath: String = ""
Discussion
The file URL path location where the file will be saved. File URL path location must be specified.
Declared In
STMediaParams_doc.h