aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/recorder_output_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.16.x'Max Kellermann2012-04-051-1/+1
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2012-04-051-1/+1
| | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin.
* | output_plugin: the plugin allocates the audio_output objectMax Kellermann2011-09-191-12/+22
| | | | | | | | | | | | Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs.
* | output: per-plugin headerMax Kellermann2011-09-171-0/+1
| | | | | | | | | | Move the "extern" declarations from output_list.c, for more type safety.
* | Merge branch 'v0.16.x'Max Kellermann2011-07-191-3/+7
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * output/recorder: fix a memory leakJonathan Neuschäfer2011-07-181-3/+7
| |
* | copyright year 2011Max Kellermann2011-01-291-1/+1
|/
* input/file, output/{fifo,recorder}: add O_BINARY to open() flagsMax Kellermann2010-05-201-2/+3
| | | | Windows compatibility.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* fd_util: removed creat_cloexec()Max Kellermann2009-11-101-1/+2
| | | | Add a "mode" argument to open_cloexec() instead.
* set the close-on-exec flag on all file descriptorsMax Kellermann2009-11-071-1/+2
| | | | | | | | | | | Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes.
* output/recorder: new output plugin for recording radio streamsMax Kellermann2009-08-241-0/+214
The recorder plugin writes audio played by MPD to a file. This may be useful for recording radio streams. This implementation is incomplete, because support for tags is missing, and MPD should be able to record each track to a different file.