summaryrefslogtreecommitdiff
path: root/src/audio/include/audio_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/include/audio_source.hpp')
-rw-r--r--src/audio/include/audio_source.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/audio/include/audio_source.hpp b/src/audio/include/audio_source.hpp
index b2fd173d..b38acd7a 100644
--- a/src/audio/include/audio_source.hpp
+++ b/src/audio/include/audio_source.hpp
@@ -17,7 +17,9 @@ class TaggedStream : public codecs::IStream {
public:
TaggedStream(std::shared_ptr<database::TrackTags>,
std::unique_ptr<codecs::IStream> wrapped,
- uint32_t offset = 0);
+ std::string path,
+ uint32_t offset = 0
+ );
auto tags() -> std::shared_ptr<database::TrackTags>;
@@ -33,11 +35,14 @@ class TaggedStream : public codecs::IStream {
auto Offset() -> uint32_t;
+ auto Filepath() -> std::string;
+
auto SetPreambleFinished() -> void override;
private:
std::shared_ptr<database::TrackTags> tags_;
std::unique_ptr<codecs::IStream> wrapped_;
+ std::string filepath_;
int32_t offset_;
};