Original article: https://iquilezles.org/www/articles/noacos/noacos.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------------------------------------------- | |
// SquirrelNoise5.hpp | |
// | |
#pragma once | |
///////////////////////////////////////////////////////////////////////////////////////////////// | |
// SquirrelNoise5 - Squirrel's Raw Noise utilities (version 5) | |
// | |
// This code is made available under the Creative Commons attribution 3.0 license (CC-BY-3.0 US): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple example code to load a Wav file and play it with WASAPI | |
// This is NOT complete Wav loading code. It is a barebones example | |
// that makes a lot of assumptions, see the assert() calls for details | |
// | |
// References: | |
// http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html | |
// Handmade Hero Day 138: Loading WAV Files | |
#include <windows.h> |
OlderNewer