You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple C program that uses the ALSA audio library to play wav files. [Here](https://www.alsa-project.org/wiki/Download) is the link to the ALSA linux library. The program parses wav files and writes the data buffer to a sound card. Parsing wav files and headers was based on [this](http://truelogic.org/wordpress/2015/09/04/parsing-a-wav-file-in-c/) tutorial.
3
+
A simple C program that uses the ALSA audio library to play and record wav files. [Here](https://www.alsa-project.org/wiki/Download) is the link to the ALSA linux library.
4
4
5
-
To run use
5
+
## PCM_Playback
6
+
The program parses wav files and writes the data buffer to a sound card. Parsing wav files and headers was based on [this](http://truelogic.org/wordpress/2015/09/04/parsing-a-wav-file-in-c/) tutorial.
7
+
8
+
## PCM_Capture
9
+
The program opens an audio stream form an UAC222 audio device and writes it to a wav file. Wav file header is generated and
10
+
data will be buffered to the file. The output of this capture can be played back with the above program.
0 commit comments