aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/recorder_output_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output/{recorder,shout}: call encoder_read() in a loopMax Kellermann2012-10-021-8/+11
| | | | This is necessary for Ogg packets that span more than one page.
* output/recorder: move code to _write_to_file()Max Kellermann2012-10-021-19/+31
|
* output/recorder: fix write() error checkMax Kellermann2012-10-021-3/+3
| | | | We can only check for negative values if the variable is signed.
* output/recorder: make variables more localMax Kellermann2012-10-021-16/+12
|
* output/recorder, test/*: invoke encoder_read() after _open()Max Kellermann2012-10-021-0/+7
| | | | | Make sure the file header gets written at the beginning, before _write() gets called.
* 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.