aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/AlsaInputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-11InputStream: remove attribute "plugin"Max Kellermann1-1/+1
2014-05-11InputStream: make various methods abstractMax Kellermann1-35/+9
Replace InputPlugin attributes.
2014-05-11InputStream: add virtual destructorMax Kellermann1-8/+0
Replaces the method Close().
2014-05-11input/plugins: make InputStream the base classMax Kellermann1-35/+22
Prepare for adding virtual methods.
2014-05-11InputStream: convert to classMax Kellermann1-2/+3
2014-03-16input/alsa: don't initialize "seekable=false", "size=-1"Max Kellermann1-2/+0
These are the default values already.
2014-01-24Input*: move to input/Max Kellermann1-2/+2
2014-01-14input/alsa: fix memory leakMax Kellermann1-1/+1
Don't duplicate the MIME type when it gets passed to a std::string.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08input/AlsaInputPlugin: remove unnecessary alsa s/w param setting to fix high ↵Steven O'Brien1-9/+0
CPU load issue
2014-01-06input/AlsaInputPlugin.cxx: use I/O thread to poll for available dataSteven O'Brien1-55/+289
[mk: modified to use MultiSocketMonitor instead of SocketMonitor]
2013-12-21input/alsa: fix build with gcc 4.6Max Kellermann1-12/+12
2013-12-19add draft ALSA input pluginSteven O'Brien1-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