Skip to content

Commit

Permalink
encoder/ToOutputStream: add API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 26, 2023
1 parent 2075a9a commit 9a0b377
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/encoder/ToOutputStream.hxx
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project

#ifndef MPD_ENCODER_TO_OUTPUT_STREAM_HXX
#define MPD_ENCODER_TO_OUTPUT_STREAM_HXX
#pragma once

class OutputStream;
class Encoder;

/**
* Read all available output from the #Encoder and write it to the
* #OutputStream.
*
* Throws on error.
*/
void
EncoderToOutputStream(OutputStream &os, Encoder &encoder);

#endif

0 comments on commit 9a0b377

Please sign in to comment.