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 {