TsgcTextToSpeechAmazonProperties › AudioPlayer

AudioPlayer Property

Optional TsgcAudioPlayer used to play back the audio file returned by Amazon Polly.

Syntax

__property TsgcAudioPlayer * AudioPlayer;

Default Value

Remarks

Assign a TsgcAudioPlayer instance to automatically play the synthesized audio once Amazon Polly returns the response. If no player is assigned, the file written to AmazonOptions.FileName is still produced but not played. The component forwards the player's start and stop notifications to OnStart and OnStop.

Example

Back to Properties