PLUGIN_FUNCTION_ARG4(RingLine, unsigned,line, unsigned,nCadence, const unsigned *,pattern, unsigned,frequency) { if (m_hWnd == NULL) return PluginLID_DeviceNotOpen; if (line >= 1) return PluginLID_NoSuchLine; if (nCadence > 0) StartBuzzer(); else StopBuzzer(); }
void wxGamePanel::OnBuzzerTimer(wxTimerEvent& event) { StopBuzzer(); }