Im not sure what to make of this, and i have searched the internet to no avail.ĪudioInputStream ais = AudioSystem.getAudioInputStream(ĪudioFormat baseFormat = ais.getFormat() ĪudioFormat decodeFormat = new AudioFormat(ĪudioInputStream dais = AudioSystem.getAudioInputStream(īGMusic = new AudioPlayer("/Music/Opening. Replace "" with for the debugging above as for some reason wont showĪnd i also got this error code : line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.Īt .DirectAudioDevice$DirectDL.implOpen(Unknown Source)Īt .DirectAudioDevice$DirectClip.implOpen(Unknown Source)Īt .AbstractDataLine.open(Unknown Source)Īt .DirectAudioDevice$DirectClip.open(Unknown Source)Īt audio.AudioPlayer.(AudioPlayer.java:30) When I turned it back on it goes back to the first song it played when I turned it on. Is there a way of setting it so it starts with the last song played before shutting it off. "disconnected"game.Game at localhost:51874 I have an Eclipse MP3 Player 180 G2-W 4GB. ![]() This is what i found in debugging: "terminated"Game i have searched extensively on audio in java, and havnt found success yet. ![]() I set it up with a youtube tutorial, and cannot find anything different from my code to theirs. ![]() ![]() next time i ran it it went pretty smoothly.
0 Comments
Leave a Reply. |