com.jme3.audio
クラス AudioBuffer

java.lang.Object
  上位を拡張 com.jme3.audio.ALObject
      上位を拡張 com.jme3.audio.AudioData
          上位を拡張 com.jme3.audio.AudioBuffer

public class AudioBuffer
extends AudioData

An AudioBuffer is an implementation of AudioData where the audio is buffered (stored in memory). All parts of it are accessible at any time.
AudioBuffers are useful for short sounds, like effects, etc.


入れ子のクラスの概要
 
クラス com.jme3.audio.AudioData から継承された入れ子のクラス/インタフェース
AudioData.DataType
 
コンストラクタの概要
AudioBuffer()
           
 
メソッドの概要
 void deleteObject(AudioRenderer ar)
           
 java.nio.ByteBuffer getData()
           
 AudioData.DataType getDataType()
           
 float getDuration()
           
 void resetObject()
           
 java.lang.String toString()
           
 void updateData(java.nio.ByteBuffer data)
          Update the data in the buffer with new data.
 
クラス com.jme3.audio.AudioData から継承されたメソッド
getBitsPerSample, getChannels, getSampleRate, setupFormat
 
クラス com.jme3.audio.ALObject から継承されたメソッド
clearUpdateNeeded, getId, isUpdateNeeded, setId, setUpdateNeeded
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

AudioBuffer

public AudioBuffer()
メソッドの詳細

getDataType

public AudioData.DataType getDataType()
定義:
クラス AudioData 内の getDataType
戻り値:
The data type, either Buffer or Stream.

getDuration

public float getDuration()
定義:
クラス AudioData 内の getDuration
戻り値:
The duration of the audio in seconds. It is expected that audio is uncompressed.

toString

public java.lang.String toString()
オーバーライド:
クラス ALObject 内の toString

updateData

public void updateData(java.nio.ByteBuffer data)
Update the data in the buffer with new data.

パラメータ:
data -

getData

public java.nio.ByteBuffer getData()
戻り値:
The buffered audio data.

resetObject

public void resetObject()
定義:
クラス ALObject 内の resetObject

deleteObject

public void deleteObject(AudioRenderer ar)
定義:
クラス ALObject 内の deleteObject