Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.33k stars 1.97k forks source link

SPXERR_FILE_OPEN_FAILED #40516

Open SalmanKhanB opened 3 months ago

SalmanKhanB commented 3 months ago

Type of issue

Typo

Description

the error occured in androoid 10 and 13 i test in android 11 it work perfectly the permission is also allowed. directory name is correct. update the sdk version to 1.37 still error

Error }

Retry 0: unexpected error Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED) (Ask Gemini) java.lang.RuntimeException: Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED) at com.microsoft.cognitiveservices.speech.util.Contracts.throwIfFail(Unknown Source:46) at com.microsoft.cognitiveservices.speech.SpeechSynthesizer.(Unknown Source:121) at com.sound.voiceeffects.voicechanger.classes.Adapter.VoiceSDKAdapter$SynthesizeSpeechTask.doInBackground(VoiceSDKAdapter.java:517) at com.sound.voiceeffects.voicechanger.classes.Adapter.VoiceSDKAdapter$SynthesizeSpeechTask.doInBackground(VoiceSDKAdapter.java:442) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/java/api/com.microsoft.cognitiveservices.speech?view=azure-java-stable

Content source URL

https://github.com/Azure/azure-docs-sdk-java/blob/master/docs-ref-autogen/com.microsoft.cognitiveservices.speech.yml

Document Version Independent Id

b7956d8e-dc4a-51b1-09af-bb2b9f6023fe

Article author

@rloutlaw

Metadata

joshfree commented 3 months ago

@vcolin7 could you please help route this?

vcolin7 commented 3 months ago

Hi @SalmanKhanB, thanks for reaching out about the Cognitive Speech library for Java. We don't host the source code for it here, but I've reached out to some people that might be better suited to help.

@oscholz, @robch, @rhurey Would you mind taking a look when you get a chance?