examples: added audio/05-planar-data

This commit is contained in:
Ryan C. Gordon
2025-04-22 16:54:06 -04:00
parent 3905aa0587
commit e3507b390e
5 changed files with 374 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
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.