![]() |
Mixxx
|
Describes a group of channels, typically a pair for stereo sound in Mixxx. More...
#include <soundmanagerutil.h>
Public Member Functions | |
ChannelGroup (unsigned char channelBase, unsigned char channels) | |
unsigned char | getChannelBase () const |
unsigned char | getChannelCount () const |
bool | operator== (const ChannelGroup &other) const |
bool | clashesWith (const ChannelGroup &other) const |
unsigned int | getHash () const |
Describes a group of channels, typically a pair for stereo sound in Mixxx.
Definition at line 30 of file soundmanagerutil.h.
ChannelGroup::ChannelGroup | ( | unsigned char | channelBase, |
unsigned char | channels | ||
) |
Constructs a ChannelGroup.
channelBase | the first channel in the group. |
channels | the number of channels. |
Definition at line 24 of file soundmanagerutil.cpp.
bool ChannelGroup::clashesWith | ( | const ChannelGroup & | other | ) | const |
Checks if another ChannelGroup shares channels with this one.
other | the other ChannelGroup to check for a clash with. |
Definition at line 59 of file soundmanagerutil.cpp.
unsigned char ChannelGroup::getChannelBase | ( | ) | const |
Definition at line 32 of file soundmanagerutil.cpp.
unsigned char ChannelGroup::getChannelCount | ( | ) | const |
Definition at line 39 of file soundmanagerutil.cpp.
unsigned int ChannelGroup::getHash | ( | ) | const |
Generates a hash of this ChannelGroup, so it can act as a key in a QHash.
Definition at line 75 of file soundmanagerutil.cpp.
bool ChannelGroup::operator== | ( | const ChannelGroup & | other | ) | const |
Defines equality between two ChannelGroups.
Definition at line 48 of file soundmanagerutil.cpp.