Skip to content

Channel filtering doesn't look right ... #11

@kisielk

Description

@kisielk

I haven't tried it yet but I've just been reading the code

You define:

type Channel int

So using a filter that's Channel(1) | Channel(3) will just get me channel 3...

The C version has a macro called Pm_Channel which is 1 << channel so I think you probably want to change Channel to be a function that returns the same in order to generate a bitmask.

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