    All Packages    This Package    Previous    Next

# Class browser.audio.AudioData

    java.lang.Object
       |
       +----browser.audio.AudioData

public class AudioData
extends Object

A clip of audio data, contains ulaw 8bit, 8000hz data. This data can be used to construct and AudioDataStream, which can be played.

The getAudioData method gets an audio clip out of the cache.

See Also:
  AudioDataStream, AudioPlayer, getAudioData
Author:
  Arthur van Hoff
Version:
  1.10, 20 Mar 1995

##

AudioData(byte[])
  Constructor

##

flushCache()
  Flush the audio data cache.
getAudioData(URL)
  Get audio data from the cache.

##

AudioData

      public AudioData(byte buffer[])

  Constructor

##

getAudioData

      public static AudioData getAudioData(URL url)

  Get audio data from the cache.

flushCache

      public static void flushCache()

  Flush the audio data cache.

    All Packages    This Package    Previous    Next