Closed Kokecena closed 2 years ago
[Update] I was reading something about these audio frequencies and I found that they can be harmful to hearing, maybe it's a bad idea to let my player read these frequencies and moreover to be able to modify them with the equalizer and that 48khz are the safest...
Check out the stacktrace of the javax.sound.sampled.LineUnavailableException
—it's not thrown FFSampledSP, but by the audio system.
Check out the stacktrace of the
javax.sound.sampled.LineUnavailableException
—it's not thrown FFSampledSP, but by the audio system.
Sorry for the inconvenience, check and it's a Java error on Windows for some reason it doesn't recognize the devices ability to play 24 bit data, but on Mac and Linux it works, I will close this thread It doesn't influence your library, thanks anyway :)
Hello, it's been a while, your library has surprised me a lot, it supports too many types of audio, so much so that even the teachers asked me what the hell I was using haha
Well I have a doubt, I was experimenting with the sample rate of the songs I have and it occurred to me to download a hi-fi song it works very well except that it takes up a lot of memory, I guess it's because of the way I load the song. I have tested on songs up to 176.4khz and they work fine, but i tried with 352khz and it didn't work anymore (i guess i should lower the sample rate), i don't know why exactly this is,.
This is the way i load AudioInputStream and SourceDataLine.
This is the error throws me
java.util.concurrent.ExecutionException: jovis.audioplayer.JovisPlayerException: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 352800.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
works
it does not work