Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

macOS: TextToSpeech replaced NSSpeechBoundary#1430

Merged
mattleibow merged 2 commits intoxamarin:mainfrom
Suplanus:patch-1
Nov 6, 2020
Merged

macOS: TextToSpeech replaced NSSpeechBoundary#1430
mattleibow merged 2 commits intoxamarin:mainfrom
Suplanus:patch-1

Conversation

@Suplanus
Copy link
Copy Markdown
Contributor

@Suplanus Suplanus commented Oct 8, 2020

Description of Change

hWord is obsolete, replaced it with Word

Bugs Fixed

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation (see walkthrough)

void TryCancel()
{
ss.StopSpeaking(NSSpeechBoundary.hWord);
ss.StopSpeaking(NSSpeechBoundary.Word);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is a tricky one as this means anyone that hasn't updated to the latest version this may cause issues... @mattleibow ....

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah. I was thinking that.

But, this only applies to those building this source code. As enums are constants, only the value is used in IL.

It should be OK.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But, I think we should test to confirm my logic here. It should be a matter of just downloading this built assembly and viewing the IL.

I'll have a look to see.

@xamarin xamarin deleted a comment from azure-pipelines bot Nov 5, 2020
@mattleibow mattleibow merged commit 38d78cb into xamarin:main Nov 6, 2020
@mattleibow mattleibow added this to the 1.6.0 milestone Nov 6, 2020
mattleibow added a commit that referenced this pull request Nov 6, 2020
@Suplanus Suplanus deleted the patch-1 branch November 6, 2020 06:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants