Home | History | Annotate | Download | only in jni

Lines Matching full:combine

733 	channel_t	*combine;
746 combine = NULL;
758 // try to combine static sounds with a previous channel of the same
764 if (combine && combine->sfx == ch->sfx)
766 combine->leftvol += ch->leftvol;
767 combine->rightvol += ch->rightvol;
772 combine = channels+MAX_DYNAMIC_CHANNELS + NUM_AMBIENTS;
773 for (j=MAX_DYNAMIC_CHANNELS + NUM_AMBIENTS ; j<i; j++, combine++)
774 if (combine->sfx == ch->sfx)
779 combine = NULL;
783 if (combine != ch)
785 combine->leftvol += ch->leftvol;
786 combine->rightvol += ch->rightvol;