aboutsummaryrefslogtreecommitdiff
path: root/src/output/recorder_output_plugin.c
Commit message (Collapse)AuthorAge
* output/{recorder,shout}: call encoder_read() in a loopMax Kellermann2012-10-02
| | | | This is necessary for Ogg packets that span more than one page.
* output/recorder: move code to _write_to_file()Max Kellermann2012-10-02
|
* output/recorder: fix write() error checkMax Kellermann2012-10-02
| | | | We can only check for negative values if the variable is signed.
* output/recorder: make variables more localMax Kellermann2012-10-02
|
* output/recorder, test/*: invoke encoder_read() after _open()Max Kellermann2012-10-02
| | | | | Make sure the file header gets written at the beginning, before _write() gets called.
* Merge branch 'v0.16.x'Max Kellermann2012-04-05
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2012-04-05
| | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin.
* | output_plugin: the plugin allocates the audio_output objectMax Kellermann2011-09-19
| | | | | | | | | | | | 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-17
| | | | | | | | | | Move the "extern" declarations from output_list.c, for more type safety.
* | Merge branch 'v0.16.x'Max Kellermann2011-07-19
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * output/recorder: fix a memory leakJonathan Neuschäfer2011-07-18
| |
* | copyright year 2011Max Kellermann2011-01-29
|/
* input/file, output/{fifo,recorder}: add O_BINARY to open() flagsMax Kellermann2010-05-20
| | | | Windows compatibility.
* Update copyright notices.Avuton Olrich2009-12-31
|
* include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | 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-10
| | | | Add a "mode" argument to open_cloexec() instead.
* set the close-on-exec flag on all file descriptorsMax Kellermann2009-11-07
| | | | | | | | | | | 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-24
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.