encoder/ToOutputStream: add API docs

This commit is contained in:
Max Kellermann 2023-09-26 15:48:26 +02:00
parent 2075a9a999
commit 9a0b3775d8
1 changed files with 7 additions and 4 deletions

View File

@ -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