Bonsoir,
Je ne te contredirai pas, je n'ai pas l'expérience nécessaire, mais :
1/ ST_GAIN_CONTROL est défini dans la même bibliothèque, au-dessus il me semble, et ne comporte pas de variable "aGainData" :
1 2 3 4 5 6 7 8 9 10 11 12 13
| // Gain control data structure
typedef struct {
float previousDeviation;
float currentDeviation;
float targetGain;
float previousTargetGain;
float amplitude;
float frequency;
float deviation[MODE4_PHASE2_DEV_SAVINGS];
int mostRecentDeviationIdx;
float maxGain;
} ST_GAIN_CONTROL; |
2/ s'il s'agit d'un pointeur, pourquoi l'étoile * n'est pas sur aGainData comme ceci ? :
int lccv_GainController( ST_GAIN_CONTROL *aGainData);
Sinon, peux-tu développer l'emm. ? Je ne connais pas cette commande.
Partager