From 3590c429aa979252adb4d3ffe19a911842e8726a Mon Sep 17 00:00:00 2001 From: Cobaltergeist Date: Sun, 7 Aug 2016 13:56:47 -0700 Subject: [PATCH] Removed unrelated getSampleCount() addition. --- include/SFML/Audio/Music.hpp | 11 ----------- src/SFML/Audio/Music.cpp | 7 ------- 2 files changed, 18 deletions(-) diff --git a/include/SFML/Audio/Music.hpp b/include/SFML/Audio/Music.hpp index aacf610dcc..58da148605 100644 --- a/include/SFML/Audio/Music.hpp +++ b/include/SFML/Audio/Music.hpp @@ -126,17 +126,6 @@ class SFML_AUDIO_API Music : public SoundStream //////////////////////////////////////////////////////////// bool openFromStream(InputStream& stream); - //////////////////////////////////////////////////////////// - /// \brief Get the number of samples in the file - /// - /// This is the total number of samples in the input that was - /// opened by this music object - /// - /// \return Number of samples - /// - //////////////////////////////////////////////////////////// - Uint64 getSampleCount() const; - //////////////////////////////////////////////////////////// /// \brief Get the total duration of the music /// diff --git a/src/SFML/Audio/Music.cpp b/src/SFML/Audio/Music.cpp index d6139e2819..521a899abd 100644 --- a/src/SFML/Audio/Music.cpp +++ b/src/SFML/Audio/Music.cpp @@ -102,13 +102,6 @@ bool Music::openFromStream(InputStream& stream) } -//////////////////////////////////////////////////////////// -Uint64 Music::getSampleCount() const -{ - return m_file.getSampleCount(); -} - - //////////////////////////////////////////////////////////// Time Music::getDuration() const {