| 734 | } |
| 735 | |
| 736 | void Sound_FreeSample(int index) |
| 737 | { |
| 738 | if (BASS_SamplePointer[index] != NULL) |
| 739 | { |
| 740 | BASS_SampleFree(BASS_SamplePointer[index]); |
| 741 | BASS_SamplePointer[index] = NULL; |
| 742 | } |
| 743 | } |
| 744 | |
| 745 | // Get first free (non-playing) sound slot. |
| 746 | // If no free slots found, now try to hijack slot which is as far from listener as possible |
no outgoing calls
no test coverage detected