mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 23:33:13 +00:00
8 lines
355 B
Plaintext
8 lines
355 B
Plaintext
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.
|