aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AlsaInputPlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* input/AlsaInputPlugin: remove unnecessary alsa s/w param setting to fix high ↵Steven O'Brien2014-01-081-9/+0
| | | | CPU load issue
* input/AlsaInputPlugin.cxx: use I/O thread to poll for available dataSteven O'Brien2014-01-061-55/+289
| | | | [mk: modified to use MultiSocketMonitor instead of SocketMonitor]
* input/alsa: fix build with gcc 4.6Max Kellermann2013-12-211-12/+12
|
* add draft ALSA input pluginSteven O'Brien2013-12-191-0/+206
I've created an elementary input plugin that plays sound from the soundcard, so you can use MPD to listen to anything connected to the line-in jack, or to Video4Linux FM radio cards that send audio through the soundcard. There has been a small number of posts here in the past requesting line-in input, so here is a first, simplistic stab at it. The patch adds a new sheme, alsa://, which causes mpd to play data read directly from a souncdard. It defaults to hw:0,0, but you can pass any ALSA device name in the URI. So, using mpc for example: mpc add alsa:// mpc play will play from device hw:0,0. To use a diffferent device: mpc add alsa://hw:1,0