28 lines
856 B
Java
28 lines
856 B
Java
package bass;
|
|
|
|
import com.sun.jna.Library;
|
|
import com.sun.jna.Native;
|
|
import com.sun.jna.Pointer;
|
|
|
|
import bass.BassEncLibrary.ENCODEPROC;
|
|
|
|
/**
|
|
* Bass Encoder OGG Plugin
|
|
* Must load together with BassEncLibrary
|
|
* @author rdkartono
|
|
*
|
|
*/
|
|
public interface BassEncOGGLibrary extends Library {
|
|
BassEncOGGLibrary BASSENC_OGG = (BassEncOGGLibrary) Native.load("bassenc_ogg",BassEncOGGLibrary.class);
|
|
public int BASS_Encode_OGG_GetVersion();
|
|
|
|
public int BASS_Encode_OGG_Start(int handle, String options, int flags, ENCODEPROC proc, Pointer user);
|
|
public int BASS_Encode_OGG_StartFile(int handle, String options, int flags, String filename);
|
|
public boolean BASS_Encode_OGG_NewStream(int handle, String options, int flags);
|
|
|
|
public interface Constant{
|
|
// BASS_Encode_OGG_NewStream flags
|
|
public static final int BASS_ENCODE_OGG_RESET = 0x1000000;
|
|
}
|
|
}
|