Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 106607

The audio component of a game, representing what the player will hear. Comprised of dialogue, music, and sound effects.

1 vote
0 answers
618 views

How can I implement audio stop/pause/resume in Java?

In Java, we can play audio like this: audioInputStream = AudioSystem.getAudioInputStream(audio); AudioFormat audioFormat = audioInputStream.getFormat(); DataLine.Info info = new Info(SourceDataLine.class … Or is there any alternative Java audio library? …
ice1000's user avatar
  • 286
0 votes
1 answer
543 views

How can I play audio instantly in Java?

But when I tried to play some very small audio very frequently (say, the audio played when a small enemy is killed), it blocks my main thread and make the game very slow. …
ice1000's user avatar
  • 286