Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TTS guide related to completed callback #1917

Merged
merged 3 commits into from May 17, 2024

Conversation

syeonholic
Copy link
Contributor

Change Description

  • Update TTS guide related to completed callback.

Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
@journey2w
Copy link
Contributor

Please checkout the webpage https://docs1.stg.tizen.org/staging/1917

Copy link
Contributor

@stom-hwang stom-hwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
And I suggest adding this description into csharp documentation.

Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
Copy link
Contributor

@stom-hwang stom-hwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for accepting my oppinion.
It looks better for me. 👍

@journey2w
Copy link
Contributor

Please checkout the webpage https://docs1.stg.tizen.org/staging/1917

Copy link
Collaborator

@safir-srbd safir-srbd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syeonholic Hello. Hope you are doing well.

I have gone through the changes you have made and found a few suggestions for you to implement. Please check them.

Comment on lines 250 to 251
| `UtteranceStarted` | playing the synthesized audio is started | `Ready` > `Playing` |
| `UtteranceCompleted` | playing the synthesized audio is finished | `Playing` (The state is NOT changed until `Stop()` is called.) |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `UtteranceStarted` | playing the synthesized audio is started | `Ready` > `Playing` |
| `UtteranceCompleted` | playing the synthesized audio is finished | `Playing` (The state is NOT changed until `Stop()` is called.) |
| `UtteranceStarted` | Playing the synthesized audio is started | `Ready` > `Playing` |
| `UtteranceCompleted` | Playing the synthesized audio is finished | `Playing` (The state is NOT changed until `Stop()` is called.) |

| `UtteranceCompleted` | playing the synthesized audio is finished | `Playing` (The state is NOT changed until `Stop()` is called.) |

> [!NOTE]
> `UtteranceCompleted` is NOT invoked when
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> `UtteranceCompleted` is NOT invoked when
> `UtteranceCompleted` is NOT invoked when the following occurs:

Comment on lines 256 to 258
> (1) your application calls `Stop()`.
>
> (2) playing the synthesized audio is stopped by other application.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> (1) your application calls `Stop()`.
>
> (2) playing the synthesized audio is stopped by other application.
> (1) Your application calls `Stop()`.
>
> (2) Playing the synthesized audio is stopped by another application.

Comment on lines 269 to 270
| Utterance started callback | playing the synthesized audio is started | `TTS_STATE_READY` > `TTS_STATE_PLAYING` |
| Utterance completed callback | playing the synthesized audio is finished | `TTS_STATE_PLAYING` (The state is NOT changed until `tts_stop()` is called.) |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Utterance started callback | playing the synthesized audio is started | `TTS_STATE_READY` > `TTS_STATE_PLAYING` |
| Utterance completed callback | playing the synthesized audio is finished | `TTS_STATE_PLAYING` (The state is NOT changed until `tts_stop()` is called.) |
| Utterance started callback | Playing the synthesized audio is started | `TTS_STATE_READY` > `TTS_STATE_PLAYING` |
| Utterance completed callback | Playing the synthesized audio is finished | `TTS_STATE_PLAYING` (The state is NOT changed until `tts_stop()` is called.) |

| Utterance completed callback | playing the synthesized audio is finished | `TTS_STATE_PLAYING` (The state is NOT changed until `tts_stop()` is called.) |

> [!NOTE]
> Utterance completed callback is NOT invoked when
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> Utterance completed callback is NOT invoked when
> Utterance completed callback is NOT invoked when the following occurs:

Comment on lines 275 to 277
> (1) your application calls `tts_stop()`.
>
> (2) playing the synthesized audio is stopped by other application.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> (1) your application calls `tts_stop()`.
>
> (2) playing the synthesized audio is stopped by other application.
> (1) Your application calls `tts_stop()`.
>
> (2) Playing the synthesized audio is stopped by another application.

Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
@TizenDocsBot
Copy link
Collaborator

Please checkout the webpage https://docs1.stg.tizen.org/staging/1917

Copy link
Collaborator

@safir-srbd safir-srbd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syeonholic Thank you for making the suggested changes. LGTM!

@safir-srbd safir-srbd merged commit 35f1656 into Samsung:master May 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants