fix
This commit is contained in:
parent
a84dfac0d7
commit
69ca8a90af
2 changed files with 13 additions and 4 deletions
|
|
@ -21,8 +21,12 @@ int main(){
|
|||
|
||||
drv = new fishbone::SoundDriver();
|
||||
|
||||
snd = drv->mixer.open("music.mod");
|
||||
snd = drv->mixer.open("shanghai.mp3");
|
||||
snd->setLoop(true);
|
||||
snd->position[0] = -1;
|
||||
snd->position[1] = 0;
|
||||
snd->position[2] = 0;
|
||||
snd->is3d = true;
|
||||
snd->resume();
|
||||
|
||||
while(!quit);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue