aboutsummaryrefslogtreecommitdiff
path: root/src/chunk.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-02-14 17:04:39 +0100
committerMax Kellermann <max@duempel.org>2010-02-17 07:23:13 +0100
commit752dfb3d95482c562e5d24c6ea839c4815de9a6d (patch)
tree46b62f26c4c68ebe81b72b9ca30366ffa14af1a5 /src/chunk.c
parent5e0117b4441f257fcb1aab48b42a787567ebcbe6 (diff)
replay_gain: reimplement as a filter plugin
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device.
Diffstat (limited to 'src/chunk.c')
-rw-r--r--src/chunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chunk.c b/src/chunk.c
index 8fff3c7d..5418b6cd 100644
--- a/src/chunk.c
+++ b/src/chunk.c
@@ -29,6 +29,7 @@ music_chunk_init(struct music_chunk *chunk)
{
chunk->length = 0;
chunk->tag = NULL;
+ chunk->replay_gain_serial = 0;
}
void