Skip to content

Bw64Reader::seek() "offset" argument is of type int32_t; it should be of type int64_t #52

@jfriesne

Description

@jfriesne

In libbw/include/bw64/reader.hpp, the seek() method takes an offset argument that is of type int32_t, meaning that the largest offset-from-start-of-file value I can pass in to Bw64Reader::seek() is (2^32)-1 frames. This makes it awkward to seek properly to positions located towards the end of very long audio files.

It would be better if this argument was changed to be of type int64_t, so that any position within a large audio file could be seek()'d to in a single operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions