61 bool filter(uint8_t* buf, uint32_t len);
75 const uint32_t mm = _mode_mask.load();
76 *mode =
static_cast<ChannelMode>((mm & 0xFFFF0000) >> 16);
77 *mask = (mm & 0x0000FFFF);
81 return static_cast<ChannelMode> ((_mode_mask.load() & 0xFFFF0000) >> 16);
85 return _mode_mask.load() & 0x0000FFFF;
PBD::Signal< void()> ChannelMaskChanged
std::atomic< uint32_t > _mode_mask
16 bits mode, 16 bits mask
bool set_channel_mask(uint16_t mask)
void get_mode_and_mask(ChannelMode *mode, uint16_t *mask) const
void filter(BufferSet &bufs)
bool set_channel_mode(ChannelMode mode, uint16_t mask)
ChannelMode get_channel_mode() const
bool filter(uint8_t *buf, uint32_t len)
uint16_t get_channel_mask() const
PBD::Signal< void()> ChannelModeChanged