Skip to content

NebiyouTen/Alsa_Wave_Play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alsa_Wave_Playback and Capture

A simple C program that uses the ALSA audio library to play and record wav files. Here is the link to the ALSA linux library.

PCM_Playback

The program parses wav files and writes the data buffer to a sound card. Parsing wav files and headers was based on this tutorial.

PCM_Capture

The program opens an audio stream form an UAC222 audio device and writes it to a wav file. Wav file header is generated and data will be buffered to the file. The output of this capture can be played back with the above program.

To run use the following commands

./gcc_compile_script && ./PCM_Wav_Play
./gcc_compile_script && ./PCM_Capture

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages