HRESULT CMackieControlXT::SetStripRange( DWORD dwLowStrip, SONAR_MIXER_STRIP mixerStrip) { // Set the strip type first, so that... m_cState.SetMixerStrip(mixerStrip); // ...this reads back the correct strip type LimitAndSetStripNumOffset(dwLowStrip - m_dwUnitStripNumOffset); return S_OK; }
void CMackieControlMaster::ShiftStripNumOffset(int iAmount) { LimitAndSetStripNumOffset(m_cState.GetStripNumOffset() + iAmount); }