Skip to content

Commit

Permalink
Removed unrelated getSampleCount() addition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobaltergeist committed Aug 7, 2016
1 parent 2a24782 commit 3590c42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions include/SFML/Audio/Music.hpp
Expand Up @@ -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
///
Expand Down
7 changes: 0 additions & 7 deletions src/SFML/Audio/Music.cpp
Expand Up @@ -102,13 +102,6 @@ bool Music::openFromStream(InputStream& stream)
}


////////////////////////////////////////////////////////////
Uint64 Music::getSampleCount() const
{
return m_file.getSampleCount();
}


////////////////////////////////////////////////////////////
Time Music::getDuration() const
{
Expand Down

0 comments on commit 3590c42

Please sign in to comment.