Fixed seeking in multi channel FLAC files.
Updated seek() documentation.
This commit is contained in:
parent
698bbccd6a
commit
c78c8106da
6 changed files with 25 additions and 4 deletions
|
@ -153,6 +153,9 @@ public:
|
|||
/// precision. If you need to jump to a given time, use the
|
||||
/// other overload.
|
||||
///
|
||||
/// 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 jumps to the end of the sound file.
|
||||
///
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue