com.threerings.openal.config
Class SounderConfig.WeightedFile

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.openal.config.SounderConfig.WeightedFile
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
SounderConfig.PitchWeightedFile
Enclosing class:
SounderConfig

public static class SounderConfig.WeightedFile
extends DeepObject
implements Exportable

Combines a file to enqueue .


Field Summary
 String file
          The file to stream.
 float gain
          The gain of the file.
 float weight
          The weight of the file.
 
Constructor Summary
SounderConfig.WeightedFile()
           
 
Method Summary
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

file

@Editable(editor="resource",
          nullable=true,
          hgroup="f")
@FileConstraints(description="m.sound_files_desc",
                 extensions=".ogg",
                 directory="sound_dir")
public String file
The file to stream.


weight

@Editable(min=0.0,
          step=0.01,
          hgroup="f")
public float weight
The weight of the file.


gain

@Editable(min=0.0,
          step=0.01)
public float gain
The gain of the file.

Constructor Detail

SounderConfig.WeightedFile

public SounderConfig.WeightedFile()


Copyright © 2011. All Rights Reserved.