Tabnine Logo
Sound.pause
Code IndexAdd Tabnine to your IDE (free)

How to use
pause
method
in
com.badlogic.gdx.audio.Sound

Best Java code snippets using com.badlogic.gdx.audio.Sound.pause (Showing top 3 results out of 315)

origin: bladecoder/bladecoder-adventure-engine

public void pause() {
  for (LoadedSound s : loadedSounds.values()) {
    if (s.playing && s.sound != null)
      s.sound.pause();
  }
}
origin: 00-Evan/shattered-pixel-dungeon-gdx

public void pause() {
  for (Sound sound : ids.values()) {
    sound.pause();
  }
}

origin: dsaltares/libgdx-cookbook

sound.pause();
com.badlogic.gdx.audioSoundpause

Javadoc

Pauses all instances of this sound.

Popular methods of Sound

  • play
    Plays the sound. If the sound is already playing, it will be played again, concurrently.
  • stop
    Stops the sound instance with the given id as returned by #play() or #play(float). If the sound is n
  • dispose
    Releases all the resources.
  • loop
    Plays the sound, looping. If the sound is already playing, it will be played again, concurrently. Yo
  • setVolume
    Changes the volume of the sound instance with the given id as returned by #play() or #play(float). I
  • resume
    Resumes the sound instance with the given id as returned by #play() or #play(float). If the sound is
  • setPitch
    Changes the pitch multiplier of the sound instance with the given id as returned by #play() or #play
  • setPan
    Sets the panning and volume of the sound instance with the given id as returned by #play() or #play(
  • setLooping
    Sets the sound instance with the given id to be looping. If the sound is no longer playing this has

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now