0
0

Hello, i don´t understand C++ and VB very well, I´m using Visual J++ 6.0, so I’dlike to use FMOD with it, but I don’t know how. Anybody have a idea about to use the dll or call the funcions?? thanks.

  • You must to post comments
0
0

I’m be able to use the fmod.dll with Visual J++. If someone is interested, there is the code of my class using some functions of your api

public class dll
{
/**
* @dll.import (“fmod.dll”,entrypoint=”FSOUND_Init”)
*/
public static native boolean iniciar(int freq, int canales, int flags);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_Stream_OpenFile")
 */
public static native int abrir(String archivo, int modo, int memoria);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_Stream_Play")
 */
public static native int reproducir(int canal, int handle);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_SetFrequency")
 */
public static native char setSpeed(int canal, int freq);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_SetOutput")
 */
public static native char salida(int salida);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_SetDriver")
 */
public static native char tarjeta(int tarjeta);

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_GetNumDrivers")
 */
public static native int drivers();

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_GetOutput")
 */
public static native int getSalida();

/**
 * @dll.import ("fmod.dll",entrypoint="FSOUND_GetDriverName")
 */
public static native int nombreDriver(int num); 

}

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.