我正在尝试使用fmod libary应用代码,但未成功
我尝试下载fmod API,但我不知道下一步该怎么做
#include <conio.h>
#include "inc/fmod.h"
FSOUND_SAMPLE* handle;
int main ()
{
// init FMOD sound system
FSOUND_Init (44100, 32, 0);
// load and play mp3
handle=FSOUND_Sample_Load (0,"my.mp3",0, 0, 0);
FSOUND_PlaySound (0,handle);
// wait until the users hits a key to end the app
while (!_kbhit())
{
}
// clean up
FSOUND_Sample_Free (handle);
FSOUND_Close();
}
我有一个错误:
new 1.c:2:23: fatal error: inc/fmod.h: No such file or directory
#include "inc/fmod.h"