From ad024b9ea87e2e871ab0fce2c7f3e23cc165d36e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 4 Aug 2019 19:18:55 +0200 Subject: [PATCH] libcoolstream: enable GetMetadata() function Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f833cc5e7db5176412e60c191b47bb3cbcc3e808 Author: vanhofen Date: 2019-08-04 (Sun, 04 Aug 2019) Origin message was: ------------------ - libcoolstream: enable GetMetadata() function --- lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h | 4 +--- lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h b/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h index 681bc229d..c031e86d6 100644 --- a/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h +++ b/lib/hardware/coolstream/hd1/libcoolstream/playback_cs.h @@ -74,9 +74,7 @@ public: void GetTitles(std::vector &playlists, std::vector &titles, int ¤t); void SetTitle(int title); uint64_t GetReadCount(void); - - /* dummies for compatibility with libstb-hal */ - void GetMetadata(std::vector /*&keys*/, std::vector /*&values*/){}; + void GetMetadata(std::vector &keys, std::vector &values); }; #endif // __PLAYBACK_CS_H_ diff --git a/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h b/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h index 2966f903d..00719a650 100644 --- a/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h +++ b/lib/hardware/coolstream/hd2/libcoolstream/playback_cs.h @@ -75,9 +75,7 @@ public: void GetTitles(std::vector &playlists, std::vector &titles, int ¤t); void SetTitle(int title); uint64_t GetReadCount(void); - - /* dummies for compatibility with libstb-hal */ - void GetMetadata(std::vector /*&keys*/, std::vector /*&values*/){}; + void GetMetadata(std::vector &keys, std::vector &values); }; #endif // __PLAYBACK_CS_H_