|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FSoundStream | |
---|---|
org.lwjgl.fmod3 | |
org.lwjgl.fmod3.callbacks |
Uses of FSoundStream in org.lwjgl.fmod3 |
---|
Methods in org.lwjgl.fmod3 that return FSoundStream | |
---|---|
static FSoundStream |
FSound.FSOUND_Stream_Create(FSoundStreamCallback callbackHandler,
int lenbytes,
int mode,
int samplerate)
Creates a user definable stream file ready for playing. |
static FSoundStream |
FSound.FSOUND_Stream_Open(java.nio.ByteBuffer data,
int mode)
|
static FSoundStream |
FSound.FSOUND_Stream_Open(java.lang.String name,
int mode,
int offset,
int length)
Opens an audio file/url/cd ready for streaming. |
Methods in org.lwjgl.fmod3 with parameters of type FSoundStream | |
---|---|
static FSoundSyncPoint |
FSound.FSOUND_Stream_AddSyncPoint(FSoundStream stream,
int pcmoffset,
java.lang.String name)
Adds a user synchronization callback point into a stream Remarks If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready |
static boolean |
FSound.FSOUND_Stream_Close(FSoundStream stream)
Shuts down and releases an FSOUND stream Remarks If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready. |
static FSoundDSPUnit |
FSound.FSOUND_Stream_CreateDSP(FSoundStream stream,
FSoundDSPCallback callback,
int priority)
Allows the user to add a custom DSP unit to a stream Remarks The priority for a stream DSP unit is not related to the priorities specified in fmod.h. |
static boolean |
FSound.FSOUND_Stream_FindTagField(FSoundStream stream,
FSoundTagField field)
Find a tag field associated with an open stream by name and type |
static int |
FSound.FSOUND_Stream_GetLength(FSoundStream stream)
Returns the size of the stream in BYTES Remarks Position functions for streams work in bytes not samples. ----- This function is not supported for URL based streams over the internet. |
static int |
FSound.FSOUND_Stream_GetLengthMs(FSoundStream stream)
Returns the size of the stream in MILLISECONDS Remarks FSOUND_MPEGACCURATE will need to be used with mp3 files that use VBR encoding for more accuracy |
static int |
FSound.FSOUND_Stream_GetMode(FSoundStream stream)
Retrieves the mode of the stream Remarks If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready. |
static int |
FSound.FSOUND_Stream_GetNumSubStreams(FSoundStream stream)
Returns the number of substreams inside a multi-stream FSB bank file |
static boolean |
FSound.FSOUND_Stream_GetNumTagFields(FSoundStream stream,
java.nio.IntBuffer num)
Get the number of tag fields associated with the specified stream |
static int |
FSound.FSOUND_Stream_GetOpenState(FSoundStream stream)
If a stream is opened with FSOUND_NONBLOCKING, this function returns the state of the opening stream Remarks A blocking stream will return NULL from FSOUND_Stream_Open so a return value of -3 is redundant in this case. |
static int |
FSound.FSOUND_Stream_GetPosition(FSoundStream stream)
Returns the current FILE position of the stream of the stream in BYTES Remarks Position functions for streams work in bytes not samples. |
static FSoundSample |
FSound.FSOUND_Stream_GetSample(FSoundStream stream)
Returns the FSOUND_SAMPLE definition that the stream uses internally. |
static FSoundSyncPoint |
FSound.FSOUND_Stream_GetSyncPoint(FSoundStream stream,
int index)
Obtains a sync point by index. |
static boolean |
FSound.FSOUND_Stream_GetTagField(FSoundStream stream,
int num,
FSoundTagField field)
Get a tag field associated with an open stream Remarks If this function returns successfully, "value" will contain a pointer to a piece of tag-field-specific data - do not assume it will always point to a null-terminated ASCII string. |
static int |
FSound.FSOUND_Stream_GetTime(FSoundStream stream)
Returns the current time offset in stream in milliseconds. |
static boolean |
FSound.FSOUND_Stream_Net_GetStatus(FSoundStream stream,
java.nio.IntBuffer values)
Get various status information for an internet stream |
static boolean |
FSound.FSOUND_Stream_Net_SetMetadataCallback(FSoundStream stream,
FSoundMetaDataCallback callback)
Set a metadata callback for an internet stream Remarks The supplied metadata callback function will be called each time the specified internet stream receives a chunk of metadata. |
static int |
FSound.FSOUND_Stream_Play(int channel,
FSoundStream stream)
Starts a pre-opened stream playing Remarks When a stream starts to play, it inherits a special high priority (256). |
static int |
FSound.FSOUND_Stream_PlayEx(int channel,
FSoundStream stream,
FSoundDSPUnit dspunit,
boolean paused)
Extended featured version of FSOUND_Stream_Play. |
static boolean |
FSound.FSOUND_Stream_SetEndCallback(FSoundStream stream,
FSoundStreamCallback callback)
Sets a callback function for when a stream has ended Remarks Only calls back when a stream stops. |
static int |
FSound.FSOUND_Stream_SetLoopCount(FSoundStream stream,
int count)
Sets the stream to loop the number of times specified by the user. |
static int |
FSound.FSOUND_Stream_SetLoopPoints(FSoundStream stream,
int loopstart,
int loopend)
Sets the loop points for a stream Remarks For streams, setting looppoints is reasonably accurate but should not be assumed to be perfectly sample accurate in all cases. |
static int |
FSound.FSOUND_Stream_SetMode(FSoundStream stream,
int mode)
Set a streams mode Remarks If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready. |
static int |
FSound.FSOUND_Stream_SetPosition(FSoundStream stream,
int position)
Set a streams mode Remarks Position functions for streams talk in bytes and NOT samples. |
static int |
FSound.FSOUND_Stream_SetSubStream(FSoundStream stream,
int index)
Seeks a stream to the substream inside a multi-stream FSB bank file, specified by its index Remarks A stream will stop if this function is called, as it needs to seek and flush the buffer. |
static int |
FSound.FSOUND_Stream_SetSubStreamSentence(FSoundStream stream,
java.nio.IntBuffer sentencelist)
This function allows the user to describe the playback order of a list of substreams. |
static boolean |
FSound.FSOUND_Stream_SetSyncCallback(FSoundStream stream,
FSoundStreamCallback callback)
Sets a callback function for when a stream passes over a WAV tag/marker. |
static int |
FSound.FSOUND_Stream_SetTime(FSoundStream stream,
int ms)
Sets the current stream's FILE position in MILLISECONDS Remarks If the stream has been opened with FSOUND_NONBLOCKING, this function will not succeed until the stream is ready. |
static boolean |
FSound.FSOUND_Stream_Stop(FSoundStream stream)
Stops a stream from playing Remarks The stream is still prepared and sitting in memory ready to go. |
static int |
FSound.nFSOUND_Stream_GetNumSyncPoints(FSoundStream stream)
Returns the number of substreams inside a multi-stream FSB bank file |
Uses of FSoundStream in org.lwjgl.fmod3.callbacks |
---|
Methods in org.lwjgl.fmod3.callbacks with parameters of type FSoundStream | |
---|---|
void |
FSoundStreamCallback.FSOUND_STREAMCALLBACK(FSoundStream stream,
java.nio.ByteBuffer buff,
int len)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |