mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() Fixes #12894. |
18 hours ago | |
---|---|---|
.. | ||
README.txt | 4 days ago | |
onmouseover.webp | 4 days ago | |
planar-data.c | 18 hours ago | |
thumbnail.png | 4 days ago |
README.txt
This example code draws two clickable buttons. Each causes a sound to play, fed to either the left or right audio channel through separate (planar) arrays. Planar audio can feed both channels at the same time from different arrays, as well, but this example only uses one channel at a time for clarity. A NULL array will supply silence for that channel.