diff options
author | Max Kellermann <max@duempel.org> | 2010-05-02 15:16:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-02 17:46:06 +0200 |
commit | d093fb2441ee99722670f0401215031fc324bb31 (patch) | |
tree | 44c2747cd2120c1d9330eb7df59280fb5779e731 /src/chunk.h | |
parent | 0140804ef948b3c919e2e0c69dd175f443574fb9 (diff) | |
download | mpd-d093fb2441ee99722670f0401215031fc324bb31.tar.gz mpd-d093fb2441ee99722670f0401215031fc324bb31.tar.xz mpd-d093fb2441ee99722670f0401215031fc324bb31.zip |
chunk: added attribute "other"
Preparation for cross-fading support in the output thread.
Diffstat (limited to 'src/chunk.h')
-rw-r--r-- | src/chunk.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chunk.h b/src/chunk.h index 23f6321fb..a5fdda429 100644 --- a/src/chunk.h +++ b/src/chunk.h @@ -44,6 +44,12 @@ struct music_chunk { /** the next chunk in a linked list */ struct music_chunk *next; + /** + * An optional chunk which should be mixed into this chunk. + * This is used for cross-fading. + */ + struct music_chunk *other; + /** number of bytes stored in this chunk */ uint16_t length; |