Debian Codegraph @

examples/audio/test_sound_source_allocator/README.md

raw symbols SCIP
1 # Test Sound Sources Allocator
2
3 Demo showing how does the sound source limit work.
4
5 Load any sound (the longer sound, the easier to see the problem) and hit "_Play Sound_" quickly. You will see the sources being allocated in slots (max 6 slots, by default). When all the slots are filled, playing new sound necessarily means that some old sound has to be stopped.
6
7 See https://castle-engine.io/sound#limit for description.
8
9 ![Screenshot](screenshot.png)
10
11 Using [Castle Game Engine](https://castle-engine.io/).
12
13 ## Building
14
15 Compile by:
16
17 - [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `test_sound_source_allocator.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).