https://github.com/zonque/simple-alsa-loop
Simple ALSA app for looping audio from capture to playback
https://github.com/zonque/simple-alsa-loop
Last synced: 11 months ago
JSON representation
Simple ALSA app for looping audio from capture to playback
- Host: GitHub
- URL: https://github.com/zonque/simple-alsa-loop
- Owner: zonque
- Created: 2012-10-05T15:40:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-08T10:44:03.000Z (over 13 years ago)
- Last Synced: 2023-10-21T00:07:02.229Z (over 2 years ago)
- Language: C
- Size: 105 KB
- Stars: 21
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This super simple tool does nothing but a loop-through between the default
capture and default playback device. In contrast to a simple "arecord | aplay",
this program will start writing samples regardless whether there was any input
from the capture device yet.
This was needed for embedded hardware that isn't able to record unless the
playback stream is running.
Everything is hard-coded to achieve just that.
On top of that, it might serve as an example to anyone who wants to write
an ALSA application.
Heavily based on sniplets found at
http://equalarea.com/paul/alsa-audio.html
Released under the GPLv2.