Azure-Samples / Cognitive-Services-Voice-Assistant

Welcome to the Microsoft Voice Assistant samples repository! Here you will find samples to help you get started building client application for your bot or Custom Command service. You will also be able to easily deploy a working Custom Command based Voice Assistant to your own Azure subscription
MIT License
102 stars 99 forks source link

Added error printouts for some messages when initializing the windows… #578

Closed chschrae closed 3 years ago

chschrae commented 3 years ago

… audio player. Also added a "format" that gets the audio wave format from windows.

Purpose

It seems windows 11 reworked their audioClient and the default stream doesn't play correctly. I didn't add code to show how to request the proper format from the service, but that would be the next step.

Does this introduce a breaking change?

[ ] Yes
[ x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe: