Files
miniaudio/examples
David Reid 67db06350d API CHANGE: Change the data callback in preparation for full-duplex.
This removes the two separate callbacks for sending and receiving data
to/from the device to a unified callback that's used for both input and
output. The new callback takes a pointer to both an input and output
buffer. When the device is opened in playback mode the input pointer
will be set to null. Likewise the output pointer will be set to null
for capture devices. Both input and output pointers will be non-null
for full-duplex devices.
2019-01-12 09:34:30 +10:00
..
2018-04-29 17:21:26 +10:00
2018-06-30 19:28:58 +10:00
2018-04-29 17:25:31 +10:00

To compile these examples, cd into the "build" directory and run the applicable build script. Executables will be placed in the "bin" directory.

cd build
./mal_build_examples_linux

Then you can run executables like this:

../bin/simple_playback my_sound.wav