void CMixer::OnTimer(W64UINT nIDEvent) { CFracticeView *View = GetCurView(); if (View == NULL || !m_IsExclusive) return; // can't blit CSize SrcSize = View->GetImageSize(); CSize DstSize = m_DispSize; if (m_BackBuf.IsMirrored()) { SrcSize.cx >>= 1; SrcSize.cy >>= 1; DstSize.cx >>= 1; DstSize.cy >>= 1; }
void CMixer::OnChannelChange() { CFracticeView *View = GetCurView(); if (View != NULL) View->GetEngine().SetTweening(FALSE); // suppress initial tween }
// gets the thumbnail for the specified view, // using the selected version if the view is selected CBitmap *CDeviceUI::GetViewThumbnail(int nView) { return GetViewThumbnail(nView, GetView(nView) == GetCurView()); }