@Bing Wu at Work I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer. So that it benefits our community audience who encounter the same issue.
.
Issue:
You are encountering an error while trying to use the Speech Services QuickStart program. They are getting an error message that says Speech synthesis canceled: CancellationReason.Error Error details: Error decoding audio stream, error code: -50
.
.
Resolution:
You followed the below steps and got it to work:
- Saving the output to a file vs directing to speaker
- Making an explicit Config call to save as a MP3
Among the above 2 you feel that the 2nd option might have helped.
.
Regarding the feedback you had shared, I would recommend you to share these feedback in the feedback forum: https://feedback.azure.com/d365community/forum/09041fae-0b25-ec11-b6e6-000d3a4f0858
.
So that our Product Group team can look into it and share their thoughts.