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.
sdl/examples/audio/05-planar-data
Ryan C. Gordon af0972c33f
audio: SDL_PutAudioStreamPlanarData should take a channel count.
Fixes #12894.
18 hours ago
..
README.txt examples: added audio/05-planar-data 4 days ago
onmouseover.webp examples: added audio/05-planar-data 4 days ago
planar-data.c audio: SDL_PutAudioStreamPlanarData should take a channel count. 18 hours ago
thumbnail.png examples: added audio/05-planar-data 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.