org.jouvieje.bass
Class Bass
java.lang.Object
org.jouvieje.bass.misc.Pointer
org.jouvieje.bass.Bass
- public class Bass
- extends Pointer
Method Summary |
static void |
BASS_Apply3D()
|
static double |
BASS_ChannelBytes2Seconds(int handle,
long pos)
|
static int |
BASS_ChannelFlags(int handle,
int flags,
int mask)
|
static boolean |
BASS_ChannelGet3DAttributes(int handle,
java.nio.IntBuffer mode,
java.nio.FloatBuffer min,
java.nio.FloatBuffer max,
java.nio.IntBuffer iangle,
java.nio.IntBuffer oangle,
java.nio.FloatBuffer outvol)
|
static boolean |
BASS_ChannelGet3DPosition(int handle,
BASS_3DVECTOR pos,
BASS_3DVECTOR orient,
BASS_3DVECTOR vel)
|
static boolean |
BASS_ChannelGetAttribute(int handle,
int attrib,
java.nio.FloatBuffer value)
|
static int |
BASS_ChannelGetData(int handle,
java.nio.ByteBuffer buffer,
int length)
|
static int |
BASS_ChannelGetDevice(int handle)
|
static boolean |
BASS_ChannelGetInfo(int handle,
BASS_CHANNELINFO info)
|
static long |
BASS_ChannelGetLength(int handle,
int mode)
|
static int |
BASS_ChannelGetLevel(int handle)
|
static long |
BASS_ChannelGetPosition(int handle,
int mode)
|
static Pointer |
BASS_ChannelGetTags(int handle,
int tags)
|
static int |
BASS_ChannelIsActive(int handle)
|
static boolean |
BASS_ChannelIsSliding(int handle,
int attrib)
|
static boolean |
BASS_ChannelLock(int handle,
boolean lock)
|
static boolean |
BASS_ChannelPause(int handle)
|
static boolean |
BASS_ChannelPlay(int handle,
boolean restart)
|
static boolean |
BASS_ChannelRemoveDSP(int handle,
HDSP dsp)
|
static boolean |
BASS_ChannelRemoveFX(int handle,
HFX fx)
|
static boolean |
BASS_ChannelRemoveLink(int handle,
int chan)
|
static boolean |
BASS_ChannelRemoveSync(int handle,
HSYNC sync)
|
static long |
BASS_ChannelSeconds2Bytes(int handle,
double pos)
|
static boolean |
BASS_ChannelSet3DAttributes(int handle,
int mode,
float min,
float max,
int iangle,
int oangle,
float outvol)
|
static boolean |
BASS_ChannelSet3DPosition(int handle,
BASS_3DVECTOR pos,
BASS_3DVECTOR orient,
BASS_3DVECTOR vel)
|
static boolean |
BASS_ChannelSetAttribute(int handle,
int attrib,
float value)
|
static boolean |
BASS_ChannelSetDevice(int handle,
int device)
|
static HDSP |
BASS_ChannelSetDSP(int handle,
DSPPROC proc,
Pointer user,
int priority)
|
static HFX |
BASS_ChannelSetFX(int handle,
int type,
int priority)
|
static boolean |
BASS_ChannelSetLink(int handle,
int chan)
|
static boolean |
BASS_ChannelSetPosition(int handle,
long pos,
int mode)
|
static HSYNC |
BASS_ChannelSetSync(int handle,
int type,
long param,
SYNCPROC proc,
Pointer user)
|
static boolean |
BASS_ChannelSlideAttribute(int handle,
int attrib,
float value,
int time)
|
static boolean |
BASS_ChannelStop(int handle)
|
static boolean |
BASS_ChannelUpdate(int handle,
int length)
|
static int |
BASS_ErrorGetCode()
|
static boolean |
BASS_Free()
|
static boolean |
BASS_FXGetParameters(HFX handle,
Pointer params)
|
static boolean |
BASS_FXReset(HFX handle)
|
static boolean |
BASS_FXSetParameters(HFX handle,
Pointer params)
|
static boolean |
BASS_Get3DFactors(java.nio.FloatBuffer distf,
java.nio.FloatBuffer rollf,
java.nio.FloatBuffer doppf)
|
static boolean |
BASS_Get3DPosition(BASS_3DVECTOR pos,
BASS_3DVECTOR vel,
BASS_3DVECTOR front,
BASS_3DVECTOR top)
|
static int |
BASS_GetConfig(int option)
|
static Pointer |
BASS_GetConfigPtr(int option)
|
static float |
BASS_GetCPU()
|
static int |
BASS_GetDevice()
|
static boolean |
BASS_GetDeviceInfo(int device,
BASS_DEVICEINFO info)
|
static Pointer |
BASS_GetDSoundObject(int object)
|
static boolean |
BASS_GetEAXParameters(java.nio.IntBuffer env,
java.nio.FloatBuffer vol,
java.nio.FloatBuffer decay,
java.nio.FloatBuffer damp)
|
static boolean |
BASS_GetInfo(BASS_INFO info)
|
static int |
BASS_GetVersion()
|
static float |
BASS_GetVolume()
|
static boolean |
BASS_Init(int device,
int freq,
int flags,
Pointer win,
Pointer dsguid)
|
static boolean |
BASS_MusicFree(HMUSIC handle)
|
static HMUSIC |
BASS_MusicLoad(boolean mem,
Pointer file,
long offset,
int length,
int flags,
int freq)
|
static HMUSIC |
BASS_MusicLoad(boolean mem,
java.lang.String file,
long offset,
int length,
int flags,
int freq)
|
static boolean |
BASS_Pause()
|
static boolean |
BASS_PluginFree(HPLUGIN handle)
|
static BASS_PLUGININFO |
BASS_PluginGetInfo(HPLUGIN handle)
|
static HPLUGIN |
BASS_PluginLoad(java.lang.String file,
int flags)
|
static boolean |
BASS_RecordFree()
|
static int |
BASS_RecordGetDevice()
|
static boolean |
BASS_RecordGetDeviceInfo(int device,
BASS_DEVICEINFO info)
|
static boolean |
BASS_RecordGetInfo(BASS_RECORDINFO info)
|
static int |
BASS_RecordGetInput(int input,
java.nio.FloatBuffer volume)
|
static java.lang.String |
BASS_RecordGetInputName(int input)
|
static boolean |
BASS_RecordInit(int device)
|
static boolean |
BASS_RecordSetDevice(int device)
|
static boolean |
BASS_RecordSetInput(int input,
int flags,
float volume)
|
static HRECORD |
BASS_RecordStart(int freq,
int chans,
int flags,
RECORDPROC proc,
Pointer user)
|
static HSAMPLE |
BASS_SampleCreate(int length,
int freq,
int chans,
int max,
int flags)
|
static boolean |
BASS_SampleFree(HSAMPLE handle)
|
static HCHANNEL |
BASS_SampleGetChannel(HSAMPLE handle,
boolean onlynew)
|
static int |
BASS_SampleGetChannels(HSAMPLE handle,
HCHANNEL[] channels)
|
static boolean |
BASS_SampleGetData(HSAMPLE handle,
Pointer buffer)
|
static boolean |
BASS_SampleGetInfo(HSAMPLE handle,
java.nio.IntBuffer info)
|
static HSAMPLE |
BASS_SampleLoad(boolean mem,
Pointer file,
long offset,
int length,
int max,
int flags)
|
static HSAMPLE |
BASS_SampleLoad(boolean mem,
java.lang.String file,
long offset,
int length,
int max,
int flags)
|
static boolean |
BASS_SampleSetData(HSAMPLE handle,
Pointer buffer)
|
static boolean |
BASS_SampleSetInfo(HSAMPLE handle,
java.nio.IntBuffer info)
|
static boolean |
BASS_SampleStop(HSAMPLE handle)
|
static boolean |
BASS_Set3DFactors(float distf,
float rollf,
float doppf)
|
static boolean |
BASS_Set3DPosition(BASS_3DVECTOR pos,
BASS_3DVECTOR vel,
BASS_3DVECTOR front,
BASS_3DVECTOR top)
|
static boolean |
BASS_SetConfig(int option,
int value)
|
static boolean |
BASS_SetConfigPtr(int option,
Pointer value)
|
static boolean |
BASS_SetDevice(int device)
|
static boolean |
BASS_SetEAXParameters(EAX_PRESET preset)
|
static boolean |
BASS_SetEAXParameters(int env,
float vol,
float decay,
float damp)
|
static boolean |
BASS_SetVolume(float volume)
|
static boolean |
BASS_Start()
|
static boolean |
BASS_Stop()
|
static HSTREAM |
BASS_StreamCreate(int freq,
int chans,
int flags,
STREAMPROC_SPECIAL proc,
Pointer user)
|
static HSTREAM |
BASS_StreamCreate(int freq,
int chans,
int flags,
STREAMPROC proc,
Pointer user)
|
static HSTREAM |
BASS_StreamCreateFile(boolean mem,
java.nio.ByteBuffer file,
long offset,
long length,
int flags)
|
static HSTREAM |
BASS_StreamCreateFile(boolean mem,
java.lang.String file,
long offset,
long length,
int flags)
|
static HSTREAM |
BASS_StreamCreateFileUser(int system,
int flags,
BASS_FILEPROCS proc,
Pointer user)
|
static HSTREAM |
BASS_StreamCreateURL(java.lang.String url,
int offset,
int flags,
DOWNLOADPROC proc,
Pointer user)
|
static boolean |
BASS_StreamFree(HSTREAM handle)
|
static long |
BASS_StreamGetFilePosition(HSTREAM handle,
int mode)
|
static int |
BASS_StreamPutData(HSTREAM handle,
java.nio.ByteBuffer buffer,
int length)
|
static int |
BASS_StreamPutFileData(HSTREAM handle,
Pointer buffer,
int length)
|
static boolean |
BASS_Update(int length)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASS_SetConfig
public static boolean BASS_SetConfig(int option,
int value)
BASS_GetConfig
public static int BASS_GetConfig(int option)
BASS_SetConfigPtr
public static boolean BASS_SetConfigPtr(int option,
Pointer value)
BASS_GetConfigPtr
public static Pointer BASS_GetConfigPtr(int option)
BASS_GetVersion
public static int BASS_GetVersion()
BASS_ErrorGetCode
public static int BASS_ErrorGetCode()
BASS_GetDeviceInfo
public static boolean BASS_GetDeviceInfo(int device,
BASS_DEVICEINFO info)
BASS_Init
public static boolean BASS_Init(int device,
int freq,
int flags,
Pointer win,
Pointer dsguid)
BASS_SetDevice
public static boolean BASS_SetDevice(int device)
BASS_GetDevice
public static int BASS_GetDevice()
BASS_Free
public static boolean BASS_Free()
BASS_GetDSoundObject
public static Pointer BASS_GetDSoundObject(int object)
BASS_GetInfo
public static boolean BASS_GetInfo(BASS_INFO info)
BASS_Update
public static boolean BASS_Update(int length)
BASS_GetCPU
public static float BASS_GetCPU()
BASS_Start
public static boolean BASS_Start()
BASS_Stop
public static boolean BASS_Stop()
BASS_Pause
public static boolean BASS_Pause()
BASS_SetVolume
public static boolean BASS_SetVolume(float volume)
BASS_GetVolume
public static float BASS_GetVolume()
BASS_PluginLoad
public static HPLUGIN BASS_PluginLoad(java.lang.String file,
int flags)
BASS_PluginFree
public static boolean BASS_PluginFree(HPLUGIN handle)
BASS_PluginGetInfo
public static BASS_PLUGININFO BASS_PluginGetInfo(HPLUGIN handle)
BASS_Set3DFactors
public static boolean BASS_Set3DFactors(float distf,
float rollf,
float doppf)
BASS_Get3DFactors
public static boolean BASS_Get3DFactors(java.nio.FloatBuffer distf,
java.nio.FloatBuffer rollf,
java.nio.FloatBuffer doppf)
BASS_Set3DPosition
public static boolean BASS_Set3DPosition(BASS_3DVECTOR pos,
BASS_3DVECTOR vel,
BASS_3DVECTOR front,
BASS_3DVECTOR top)
BASS_Get3DPosition
public static boolean BASS_Get3DPosition(BASS_3DVECTOR pos,
BASS_3DVECTOR vel,
BASS_3DVECTOR front,
BASS_3DVECTOR top)
BASS_Apply3D
public static void BASS_Apply3D()
BASS_SetEAXParameters
public static boolean BASS_SetEAXParameters(int env,
float vol,
float decay,
float damp)
BASS_GetEAXParameters
public static boolean BASS_GetEAXParameters(java.nio.IntBuffer env,
java.nio.FloatBuffer vol,
java.nio.FloatBuffer decay,
java.nio.FloatBuffer damp)
BASS_MusicLoad
public static HMUSIC BASS_MusicLoad(boolean mem,
Pointer file,
long offset,
int length,
int flags,
int freq)
BASS_MusicLoad
public static HMUSIC BASS_MusicLoad(boolean mem,
java.lang.String file,
long offset,
int length,
int flags,
int freq)
BASS_MusicFree
public static boolean BASS_MusicFree(HMUSIC handle)
BASS_SampleLoad
public static HSAMPLE BASS_SampleLoad(boolean mem,
Pointer file,
long offset,
int length,
int max,
int flags)
BASS_SampleLoad
public static HSAMPLE BASS_SampleLoad(boolean mem,
java.lang.String file,
long offset,
int length,
int max,
int flags)
BASS_SampleCreate
public static HSAMPLE BASS_SampleCreate(int length,
int freq,
int chans,
int max,
int flags)
BASS_SampleFree
public static boolean BASS_SampleFree(HSAMPLE handle)
BASS_SampleSetData
public static boolean BASS_SampleSetData(HSAMPLE handle,
Pointer buffer)
BASS_SampleGetData
public static boolean BASS_SampleGetData(HSAMPLE handle,
Pointer buffer)
BASS_SampleGetInfo
public static boolean BASS_SampleGetInfo(HSAMPLE handle,
java.nio.IntBuffer info)
BASS_SampleSetInfo
public static boolean BASS_SampleSetInfo(HSAMPLE handle,
java.nio.IntBuffer info)
BASS_SampleGetChannel
public static HCHANNEL BASS_SampleGetChannel(HSAMPLE handle,
boolean onlynew)
BASS_SampleGetChannels
public static int BASS_SampleGetChannels(HSAMPLE handle,
HCHANNEL[] channels)
BASS_SampleStop
public static boolean BASS_SampleStop(HSAMPLE handle)
BASS_StreamCreate
public static HSTREAM BASS_StreamCreate(int freq,
int chans,
int flags,
STREAMPROC proc,
Pointer user)
BASS_StreamCreate
public static HSTREAM BASS_StreamCreate(int freq,
int chans,
int flags,
STREAMPROC_SPECIAL proc,
Pointer user)
BASS_StreamCreateFile
public static HSTREAM BASS_StreamCreateFile(boolean mem,
java.nio.ByteBuffer file,
long offset,
long length,
int flags)
BASS_StreamCreateFile
public static HSTREAM BASS_StreamCreateFile(boolean mem,
java.lang.String file,
long offset,
long length,
int flags)
BASS_StreamCreateURL
public static HSTREAM BASS_StreamCreateURL(java.lang.String url,
int offset,
int flags,
DOWNLOADPROC proc,
Pointer user)
BASS_StreamCreateFileUser
public static HSTREAM BASS_StreamCreateFileUser(int system,
int flags,
BASS_FILEPROCS proc,
Pointer user)
BASS_StreamFree
public static boolean BASS_StreamFree(HSTREAM handle)
BASS_StreamGetFilePosition
public static long BASS_StreamGetFilePosition(HSTREAM handle,
int mode)
BASS_StreamPutData
public static int BASS_StreamPutData(HSTREAM handle,
java.nio.ByteBuffer buffer,
int length)
BASS_StreamPutFileData
public static int BASS_StreamPutFileData(HSTREAM handle,
Pointer buffer,
int length)
BASS_RecordGetDeviceInfo
public static boolean BASS_RecordGetDeviceInfo(int device,
BASS_DEVICEINFO info)
BASS_RecordInit
public static boolean BASS_RecordInit(int device)
BASS_RecordSetDevice
public static boolean BASS_RecordSetDevice(int device)
BASS_RecordGetDevice
public static int BASS_RecordGetDevice()
BASS_RecordFree
public static boolean BASS_RecordFree()
BASS_RecordGetInfo
public static boolean BASS_RecordGetInfo(BASS_RECORDINFO info)
BASS_RecordGetInputName
public static java.lang.String BASS_RecordGetInputName(int input)
BASS_RecordSetInput
public static boolean BASS_RecordSetInput(int input,
int flags,
float volume)
BASS_RecordGetInput
public static int BASS_RecordGetInput(int input,
java.nio.FloatBuffer volume)
BASS_RecordStart
public static HRECORD BASS_RecordStart(int freq,
int chans,
int flags,
RECORDPROC proc,
Pointer user)
BASS_ChannelBytes2Seconds
public static double BASS_ChannelBytes2Seconds(int handle,
long pos)
BASS_ChannelSeconds2Bytes
public static long BASS_ChannelSeconds2Bytes(int handle,
double pos)
BASS_ChannelGetDevice
public static int BASS_ChannelGetDevice(int handle)
BASS_ChannelSetDevice
public static boolean BASS_ChannelSetDevice(int handle,
int device)
BASS_ChannelIsActive
public static int BASS_ChannelIsActive(int handle)
BASS_ChannelGetInfo
public static boolean BASS_ChannelGetInfo(int handle,
BASS_CHANNELINFO info)
BASS_ChannelGetTags
public static Pointer BASS_ChannelGetTags(int handle,
int tags)
BASS_ChannelFlags
public static int BASS_ChannelFlags(int handle,
int flags,
int mask)
BASS_ChannelUpdate
public static boolean BASS_ChannelUpdate(int handle,
int length)
BASS_ChannelLock
public static boolean BASS_ChannelLock(int handle,
boolean lock)
BASS_ChannelPlay
public static boolean BASS_ChannelPlay(int handle,
boolean restart)
BASS_ChannelStop
public static boolean BASS_ChannelStop(int handle)
BASS_ChannelPause
public static boolean BASS_ChannelPause(int handle)
BASS_ChannelSetAttribute
public static boolean BASS_ChannelSetAttribute(int handle,
int attrib,
float value)
BASS_ChannelGetAttribute
public static boolean BASS_ChannelGetAttribute(int handle,
int attrib,
java.nio.FloatBuffer value)
BASS_ChannelSlideAttribute
public static boolean BASS_ChannelSlideAttribute(int handle,
int attrib,
float value,
int time)
BASS_ChannelIsSliding
public static boolean BASS_ChannelIsSliding(int handle,
int attrib)
BASS_ChannelSet3DAttributes
public static boolean BASS_ChannelSet3DAttributes(int handle,
int mode,
float min,
float max,
int iangle,
int oangle,
float outvol)
BASS_ChannelGet3DAttributes
public static boolean BASS_ChannelGet3DAttributes(int handle,
java.nio.IntBuffer mode,
java.nio.FloatBuffer min,
java.nio.FloatBuffer max,
java.nio.IntBuffer iangle,
java.nio.IntBuffer oangle,
java.nio.FloatBuffer outvol)
BASS_ChannelSet3DPosition
public static boolean BASS_ChannelSet3DPosition(int handle,
BASS_3DVECTOR pos,
BASS_3DVECTOR orient,
BASS_3DVECTOR vel)
BASS_ChannelGet3DPosition
public static boolean BASS_ChannelGet3DPosition(int handle,
BASS_3DVECTOR pos,
BASS_3DVECTOR orient,
BASS_3DVECTOR vel)
BASS_ChannelGetLength
public static long BASS_ChannelGetLength(int handle,
int mode)
BASS_ChannelSetPosition
public static boolean BASS_ChannelSetPosition(int handle,
long pos,
int mode)
BASS_ChannelGetPosition
public static long BASS_ChannelGetPosition(int handle,
int mode)
BASS_ChannelGetLevel
public static int BASS_ChannelGetLevel(int handle)
BASS_ChannelGetData
public static int BASS_ChannelGetData(int handle,
java.nio.ByteBuffer buffer,
int length)
BASS_ChannelSetSync
public static HSYNC BASS_ChannelSetSync(int handle,
int type,
long param,
SYNCPROC proc,
Pointer user)
BASS_ChannelRemoveSync
public static boolean BASS_ChannelRemoveSync(int handle,
HSYNC sync)
BASS_ChannelSetDSP
public static HDSP BASS_ChannelSetDSP(int handle,
DSPPROC proc,
Pointer user,
int priority)
BASS_ChannelRemoveDSP
public static boolean BASS_ChannelRemoveDSP(int handle,
HDSP dsp)
BASS_ChannelSetLink
public static boolean BASS_ChannelSetLink(int handle,
int chan)
BASS_ChannelRemoveLink
public static boolean BASS_ChannelRemoveLink(int handle,
int chan)
BASS_ChannelSetFX
public static HFX BASS_ChannelSetFX(int handle,
int type,
int priority)
BASS_ChannelRemoveFX
public static boolean BASS_ChannelRemoveFX(int handle,
HFX fx)
BASS_FXSetParameters
public static boolean BASS_FXSetParameters(HFX handle,
Pointer params)
BASS_FXGetParameters
public static boolean BASS_FXGetParameters(HFX handle,
Pointer params)
BASS_FXReset
public static boolean BASS_FXReset(HFX handle)
BASS_SetEAXParameters
public static boolean BASS_SetEAXParameters(EAX_PRESET preset)
NativeBass is an Open Source Project under GNU LGPL License
NativeBass Project - © Copyright 2007-2008 - Jérôme Jouvie (Jouvieje)
http://jerome.jouvie.free.fr/ - jerome.jouvie@gmail.com
(Documentation Copyright © Ian Luck - BASS - http://www.un4seen.com)