Skip to content

Buffer Methods Defined as properties #33

@devanecondition

Description

@devanecondition

The Buffer has two methods, framecount and channelcount like so:

const buffer = new Buffer("example");
const bufferLength = buffer.framecount();
const channelCount = buffer.channelcount();

However, they are defined as properties, so calling them gets errors like this:

Screen Shot 2024-04-21 at 12 30 36 PM

Would be happy to make a pull request for it, but I'm not quite sure how with this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions