This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
Describe the bug
I want to change the audio output device of the SDK, so I read the documentation and found that audio.AudioOutputConfig can set device_name(id).
(I have changed the endpoints from eCapture to eRender of the C++ code to output the right device id. And I also try to use device name, it still doesn't work)
I want to know if I understand the document correctly and if the steps are correct. If the steps are indeed correct, then perhaps it is a bug? Thank you very much in any case.
Expected behavior
The audio will be output in specific device.
Additional context
I want to know if I understand the document correctly and if the steps are correct. If the steps are indeed correct, then perhaps it is a bug? Thank you very much in any case.
Describe the bug I want to change the audio output device of the SDK, so I read the documentation and found that audio.AudioOutputConfig can set device_name(id).
https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.audio.audiooutputconfig?view=azure-python
Then I obtained the devece_id of the audio output device through the C++ code in the webpage and input it into AudioOutputConfig, but it did not work.
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-select-audio-input-devices
And this code can only get one device:
(I have changed the endpoints from eCapture to eRender of the C++ code to output the right device id. And I also try to use device name, it still doesn't work)
I want to know if I understand the document correctly and if the steps are correct. If the steps are indeed correct, then perhaps it is a bug? Thank you very much in any case.
To Reproduce Steps to reproduce the behavior:
Core code:
Get device_id code from https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-select-audio-input-devices
Expected behavior The audio will be output in specific device.
Additional context I want to know if I understand the document correctly and if the steps are correct. If the steps are indeed correct, then perhaps it is a bug? Thank you very much in any case.