java.lang.IllegalArgumentException: 1948401012Hz is not a supported sample rate.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.IllegalArgumentException: 1948401012Hz is not a supported sample rate.
at android.media.AudioTrack.audioParamCheck(AudioTrack.java:380)
at android.media.AudioTrack.(AudioTrack.java:315)
at android.media.AudioTrack.(AudioTrack.java:265)
at com.ibm.watson.developer_cloud.android.text_to_speech.v1.TTSUtility.initPlayer(TTSUtility.java:129)
at com.ibm.watson.developer_cloud.android.text_to_speech.v1.TTSUtility.access$800(TTSUtility.java:52)
at com.ibm.watson.developer_cloud.android.text_to_speech.v1.TTSUtility$TTSThread.run(TTSUtility.java:220)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.