aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Internal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-29 09:23:57 +0100
committerMax Kellermann <max@duempel.org>2014-01-29 09:23:57 +0100
commitaf716057699c22cc3b553ee0e5bbd403b1478607 (patch)
tree7ef4e7f532ad8415a7e59dccbc211fcb9eb172cc /src/output/Internal.hxx
parent4657a3bd0fd97583e23cd65b80db71a71345fc13 (diff)
downloadmpd-af716057699c22cc3b553ee0e5bbd403b1478607.tar.gz
mpd-af716057699c22cc3b553ee0e5bbd403b1478607.tar.xz
mpd-af716057699c22cc3b553ee0e5bbd403b1478607.zip
output: rename "chunk" to "current_chunk"
Diffstat (limited to 'src/output/Internal.hxx')
-rw-r--r--src/output/Internal.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/output/Internal.hxx b/src/output/Internal.hxx
index 443d8c6cc..fe7452f17 100644
--- a/src/output/Internal.hxx
+++ b/src/output/Internal.hxx
@@ -32,6 +32,7 @@
class Error;
class Filter;
class MusicPipe;
+struct music_chunk;
struct config_param;
struct PlayerControl;
struct AudioOutputPlugin;
@@ -235,8 +236,8 @@ struct AudioOutput {
const MusicPipe *pipe;
/**
- * This mutex protects #open, #fail_timer, #chunk and
- * #chunk_finished.
+ * This mutex protects #open, #fail_timer, #current_chunk and
+ * #current_chunk_finished.
*/
Mutex mutex;
@@ -258,12 +259,12 @@ struct AudioOutput {
* #music_buffer, because they are not going to be used by
* this output anymore.
*/
- const struct music_chunk *chunk;
+ const music_chunk *current_chunk;
/**
- * Has the output finished playing #chunk?
+ * Has the output finished playing #current_chunk?
*/
- bool chunk_finished;
+ bool current_chunk_finished;
AudioOutput(const AudioOutputPlugin &_plugin);
~AudioOutput();