37 using namespace Nsound;
52 target_as_(copy.target_as_),
78 uint32 n_channels = target_as_->getNChannels();
81 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
83 (*target_as_)[i](bv_[i]) += rhs;
94 uint32 n_channels = target_as_->getNChannels();
97 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
99 (*target_as_)[i](bv_[i]) -= rhs;
110 uint32 n_channels = target_as_->getNChannels();
113 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
115 (*target_as_)[i](bv_[i]) *= rhs;
126 uint32 n_channels = target_as_->getNChannels();
129 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
131 (*target_as_)[i](bv_[i]) /= rhs;
142 uint32 n_channels = target_as_->getNChannels();
145 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
147 (*target_as_)[i](bv_[i]) ^= rhs;
158 uint32 n_channels = target_as_->getNChannels();
161 for(
uint32 i = 0; i < n_channels && i < n_bv; ++i)
163 (*target_as_)[i](bv_[i]) = rhs;
AudioStreamSelection & operator*=(const float64 &rhs)
AudioStreamSelection & operator^=(const float64 &rhs)
AudioStreamSelection(AudioStream &as, const BooleanVectorVector &bv)
std::vector< std::vector< boolean > > BooleanVectorVector
AudioStreamSelection & operator-=(const float64 &rhs)
AudioStreamSelection & operator/=(const float64 &rhs)
AudioStreamSelection & operator+=(const float64 &rhs)
AudioStreamSelection & operator=(const AudioStreamSelection &rhs)
A helper class for advance operators.