0

How can I play sound in my app?.

I'm trying to play a sound in my Java Application, but every time I call the method I get this exception: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 48000.0 Hz, 24 bit, mono, 3 bytes/frame, little-endian not supported.

23rd Jan 2020, 2:14 PM
Kosine
Kosine - avatar
2 ответов
0
Maybe these links helps you: https:stackoverflow.com/questions/11915469/java-sound-format-not-supported https://github.com/OpenASR/idear/issues/37 From javadoc: A LineUnavailableException is an exception indicating that a line cannot be opened because it is unavailable. This situation arises most commonly when a request line is already in use by another application.
23rd Jan 2020, 3:33 PM
Denise Roßberg
Denise Roßberg - avatar
0
It will
25th Feb 2022, 7:53 AM
T.Coded
T.Coded - avatar