Sasha Szpakowski ab332aa6ef update SDL3 to libsdl-org/SDL@038a380 (3.3 development) 5 months ago
..
README.txt ab332aa6ef update SDL3 to libsdl-org/SDL@038a380 (3.3 development) 5 months ago
onmouseover.webp ab332aa6ef update SDL3 to libsdl-org/SDL@038a380 (3.3 development) 5 months ago
planar-data.c ab332aa6ef update SDL3 to libsdl-org/SDL@038a380 (3.3 development) 5 months ago
thumbnail.png ab332aa6ef update SDL3 to libsdl-org/SDL@038a380 (3.3 development) 5 months 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.