aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicChunk.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/MusicChunk.hxx')
-rw-r--r--src/MusicChunk.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MusicChunk.hxx b/src/MusicChunk.hxx
index 835221233..805112d02 100644
--- a/src/MusicChunk.hxx
+++ b/src/MusicChunk.hxx
@@ -20,6 +20,7 @@
#ifndef MPD_MUSIC_CHUNK_HXX
#define MPD_MUSIC_CHUNK_HXX
+#include "Chrono.hxx"
#include "ReplayGainInfo.hxx"
#include "util/WritableBuffer.hxx"
@@ -62,7 +63,7 @@ struct MusicChunk {
uint16_t bit_rate;
/** the time stamp within the song */
- float times;
+ SignedSongTime time;
/**
* An optional tag associated with this chunk (and the
@@ -128,7 +129,8 @@ struct MusicChunk {
* @return a writable buffer, or nullptr if the chunk is full
*/
WritableBuffer<void> Write(AudioFormat af,
- float data_time, uint16_t bit_rate);
+ SongTime data_time,
+ uint16_t bit_rate);
/**
* Increases the length of the chunk after the caller has written to