misc/openalbridge/wrappers.c
changeset 3487 b1d00f1950c8
parent 3364 e5403e2bf02c
child 3513 f589230fa21b
equal deleted inserted replaced
3486:e1b1a4c18c5b 3487:b1d00f1950c8
    70     type = fade->type;
    70     type = fade->type;
    71     free (fade);
    71     free (fade);
    72 
    72 
    73     if (type == AL_FADE_IN) {
    73     if (type == AL_FADE_IN) {
    74 #ifdef DEBUG
    74 #ifdef DEBUG
    75         err_msg("(%s) INFO - Fade-in in progress [index %d quantity %d]", prog, index, quantity);
    75         fprintf(stderr,"(Bridge Info) - Fade-in in progress [index %d quantity %d]", index, quantity);
    76 #endif
    76 #endif
    77 
    77 
    78         // save the volume desired after the fade
    78         // save the volume desired after the fade
    79         alGetSourcef(Sources[index], AL_GAIN, &target_gain);
    79         alGetSourcef(Sources[index], AL_GAIN, &target_gain);
    80         if (target_gain > 1.0f || target_gain <= 0.0f)
    80         if (target_gain > 1.0f || target_gain <= 0.0f)