J'ai arrangé les Warning et j'ai ajouté les bibliothèques. Je sais, c'est pas propre, mais bon.

This commit is contained in:
Raspbeguy 2014-05-10 17:11:35 +02:00
parent 6bbc86757c
commit a241329658
19 changed files with 7 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
libfmodex-4.44.33.so

Binary file not shown.

View File

@ -0,0 +1 @@
libfmodex64-4.44.33.so

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
libfmodexL-4.44.33.so

Binary file not shown.

View File

@ -0,0 +1 @@
libfmodexL64-4.44.33.so

View File

@ -1,6 +1,6 @@
#include "lecture.h"
void lireTick (Motif* m, int tmp, FMOD_SOUND* sample[], FMOD_CHANNEL* chan[], int nbrPortees) { // On va lire les ticks (plus petite division temporelle de la playlist) de haut en bas
void lireTick (FMOD_SYSTEM* system, Motif* m, int tmp, FMOD_SOUND* sample[], FMOD_CHANNEL* chan[], int nbrPortees) { // On va lire les ticks (plus petite division temporelle de la playlist) de haut en bas
int tempsPrecedent = SDL_GetTicks();
@ -84,7 +84,7 @@ void lecture (int nombreChaines, Motif* melodie[]) {
for (courant = 0; courant < taille; courant++) {
for (int i = 0; i < melodie[courant] -> nbrTmp; i++) {
printf("lecture temps %d : N=%d I=%d\n",i,getNote(melodie[courant],0,i),getInstrument(melodie[courant],0,i));
lireTick (melodie[courant], i, sample, chan, nombreChaines);
lireTick (system, melodie[courant], i, sample, chan, nombreChaines);
}
}

View File

@ -9,7 +9,7 @@
#include <SDL2/SDL_mixer.h>
#include <stdio.h>
#include <stdlib.h>
#include "../fmod/fmod.h"
#include "../fmod/include/fmod.h"
#define NBR_MS