Class PCMStreamConverter
java.lang.Object
games.stendhal.client.sound.system.SignalProcessor
games.stendhal.client.sound.system.processors.PCMStreamConverter
- Author:
- silvio
-
Constructor Summary
ConstructorDescriptionPCMStreamConverter(InputStream stream, AudioFormat format, int outputNumSamplesPerChannel)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected boolean
generate()
This function should be overwritten by all classes that want to generate an PCM audio stream e.g.void
open(InputStream stream, AudioFormat format, int outputNumSamplesPerChannel)
boolean
Methods inherited from class games.stendhal.client.sound.system.SignalProcessor
connectTo, createChain, disconnect, finished, insert, modify, propagate, quit, replace, request, split
-
Constructor Details
-
PCMStreamConverter
-
-
Method Details
-
reachedEndOfStream
public boolean reachedEndOfStream() -
open
-
close
public void close() -
generate
protected boolean generate()Description copied from class:SignalProcessor
This function should be overwritten by all classes that want to generate an PCM audio stream e.g. a mp3 decoder, a frequency generator, ...- Overrides:
generate
in classSignalProcessor
- Returns:
true
, until the stream is finished
-