summaryrefslogtreecommitdiff
path: root/include/SFML/Audio/SoundFileReader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SFML/Audio/SoundFileReader.hpp')
-rw-r--r--include/SFML/Audio/SoundFileReader.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/SFML/Audio/SoundFileReader.hpp b/include/SFML/Audio/SoundFileReader.hpp
index 549f50b..84aa606 100644
--- a/include/SFML/Audio/SoundFileReader.hpp
+++ b/include/SFML/Audio/SoundFileReader.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2016 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -79,6 +79,9 @@ public:
////////////////////////////////////////////////////////////
/// \brief Change the current read position to the given sample offset
///
+ /// The sample offset takes the channels into account.
+ /// Offsets can be calculated like this:
+ /// `sampleNumber * sampleRate * channelCount`
/// If the given offset exceeds to total number of samples,
/// this function must jump to the end of the file.
///