equal
deleted
inserted
replaced
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) |