aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/MultipleOutputs.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-12 15:56:41 +0200
committerMax Kellermann <max@duempel.org>2014-08-12 15:56:41 +0200
commitc94b4466d52c3c625467312ea565a4685184c517 (patch)
tree940116e9613eacca9746c7f1dfa729048d34f628 /src/output/MultipleOutputs.hxx
parent61f9e79ec9921ccf5a5cd53707b8ae161c380bc4 (diff)
downloadmpd-c94b4466d52c3c625467312ea565a4685184c517.tar.gz
mpd-c94b4466d52c3c625467312ea565a4685184c517.tar.xz
mpd-c94b4466d52c3c625467312ea565a4685184c517.zip
MusicChunk: rename struct to MusicChunk
Diffstat (limited to '')
-rw-r--r--src/output/MultipleOutputs.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output/MultipleOutputs.hxx b/src/output/MultipleOutputs.hxx
index 296b9815e..f8482037c 100644
--- a/src/output/MultipleOutputs.hxx
+++ b/src/output/MultipleOutputs.hxx
@@ -39,7 +39,7 @@ class MusicBuffer;
class MusicPipe;
class EventLoop;
class MixerListener;
-struct music_chunk;
+struct MusicChunk;
struct PlayerControl;
struct AudioOutput;
class Error;
@@ -119,7 +119,7 @@ public:
* Opens all audio outputs which are not disabled.
*
* @param audio_format the preferred audio format
- * @param buffer the #music_buffer where consumed #music_chunk objects
+ * @param buffer the #music_buffer where consumed #MusicChunk objects
* should be returned
* @return true on success, false on failure
*/
@@ -140,14 +140,14 @@ public:
void SetReplayGainMode(ReplayGainMode mode);
/**
- * Enqueue a #music_chunk object for playing, i.e. pushes it to a
+ * Enqueue a #MusicChunk object for playing, i.e. pushes it to a
* #MusicPipe.
*
- * @param chunk the #music_chunk object to be played
+ * @param chunk the #MusicChunk object to be played
* @return true on success, false if no audio output was able to play
* (all closed then)
*/
- bool Play(music_chunk *chunk, Error &error);
+ bool Play(MusicChunk *chunk, Error &error);
/**
* Checks if the output devices have drained their music pipe, and
@@ -160,7 +160,7 @@ public:
/**
* Checks if the size of the #MusicPipe is below the #threshold. If
* not, it attempts to synchronize with all output threads, and waits
- * until another #music_chunk is finished.
+ * until another #MusicChunk is finished.
*
* @param threshold the maximum number of chunks in the pipe
* @return true if there are less than #threshold chunks in the pipe
@@ -262,14 +262,14 @@ private:
/**
* Has this chunk been consumed by all audio outputs?
*/
- bool IsChunkConsumed(const music_chunk *chunk) const;
+ bool IsChunkConsumed(const MusicChunk *chunk) const;
/**
* There's only one chunk left in the pipe (#pipe), and all
* audio outputs have consumed it already. Clear the
* reference.
*/
- void ClearTailChunk(const struct music_chunk *chunk, bool *locked);
+ void ClearTailChunk(const MusicChunk *chunk, bool *locked);
};
#endif