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
// author: fangjun kuang <csukuangfj at gmail dot com> | |
// date: Apr. 22, 2019 | |
// refer to http://www.topherlee.com/software/pcm-tut-wavformat.html | |
#include <fstream> | |
#include <iostream> | |
typedef struct WAV_HEADER { | |
/* RIFF Chunk Descriptor */ |