-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoder/ToOutputStream: add API docs
- Loading branch information
1 parent
2075a9a
commit 9a0b377
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |