Codota Logo
AudioSource.isReverbEnabled
Code IndexAdd Codota to your IDE (free)

How to use
isReverbEnabled
method
in
com.jme3.audio.AudioSource

Best Java code snippets using com.jme3.audio.AudioSource.isReverbEnabled (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

private void clearChannel(int index) {
  // make room at this channel
  if (chanSrcs[index] != null) {
    AudioSource src = chanSrcs[index];
    int sourceId = channels[index];
    al.alSourceStop(sourceId);
    
    // For streaming sources, this will clear all queued buffers.
    al.alSourcei(sourceId, AL_BUFFER, 0);
    if (src.getDryFilter() != null && supportEfx) {
      // detach filter
      al.alSourcei(sourceId, EFX.AL_DIRECT_FILTER, EFX.AL_FILTER_NULL);
    }
    if (src.isPositional()) {
      AudioSource pas = (AudioSource) src;
      if (pas.isReverbEnabled() && supportEfx) {
        al.alSource3i(sourceId, EFX.AL_AUXILIARY_SEND_FILTER, 0, 0, EFX.AL_FILTER_NULL);
      }
    }
    chanSrcs[index] = null;
  }
}
 
origin: jMonkeyEngine/jmonkeyengine

  break;
case ReverbFilter:
  if (!supportEfx || !src.isPositional() || !src.isReverbEnabled()) {
    return;
  if (src.isReverbEnabled()) {
    updateSourceParam(src, AudioParam.ReverbFilter);
  } else {
origin: jMonkeyEngine/jmonkeyengine

al.alSourcei(id, AL_SOURCE_RELATIVE, AL_FALSE);
if (src.isReverbEnabled() && supportEfx) {
  int filter = EFX.AL_FILTER_NULL;
  if (src.getReverbFilter() != null) {
origin: org.jmonkeyengine/jme3-core

private void clearChannel(int index) {
  // make room at this channel
  if (chanSrcs[index] != null) {
    AudioSource src = chanSrcs[index];
    int sourceId = channels[index];
    al.alSourceStop(sourceId);
    
    // For streaming sources, this will clear all queued buffers.
    al.alSourcei(sourceId, AL_BUFFER, 0);
    if (src.getDryFilter() != null && supportEfx) {
      // detach filter
      al.alSourcei(sourceId, EFX.AL_DIRECT_FILTER, EFX.AL_FILTER_NULL);
    }
    if (src.isPositional()) {
      AudioSource pas = (AudioSource) src;
      if (pas.isReverbEnabled() && supportEfx) {
        al.alSource3i(sourceId, EFX.AL_AUXILIARY_SEND_FILTER, 0, 0, EFX.AL_FILTER_NULL);
      }
    }
    chanSrcs[index] = null;
  }
}
 
origin: org.jmonkeyengine/jme3-core

  break;
case ReverbFilter:
  if (!supportEfx || !src.isPositional() || !src.isReverbEnabled()) {
    return;
  if (src.isReverbEnabled()) {
    updateSourceParam(src, AudioParam.ReverbFilter);
  } else {
origin: org.jmonkeyengine/jme3-core

al.alSourcei(id, AL_SOURCE_RELATIVE, AL_FALSE);
if (src.isReverbEnabled() && supportEfx) {
  int filter = EFX.AL_FILTER_NULL;
  if (src.getReverbFilter() != null) {
com.jme3.audioAudioSourceisReverbEnabled

Popular methods of AudioSource

  • getStatus
  • getAudioData
  • getChannel
    Do not use.
  • getDirection
  • getDryFilter
  • getInnerAngle
  • getMaxDistance
  • getOuterAngle
  • getPitch
  • getPosition
  • getRefDistance
  • getReverbFilter
  • getRefDistance,
  • getReverbFilter,
  • getTimeOffset,
  • getVelocity,
  • getVolume,
  • isDirectional,
  • isLooping,
  • isPositional,
  • setChannel

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now