Exemple #1
0
void stopVibration() {
    //leaving all config on except clock source
    // CS1: 0b000 ou o0 ou 0x0void messageFromPC(char dataToFill[], uint8_t sizeOfDataToFill);
    stopFilter();
    vibrationLedOff();
    
    TCCR1B &= ~_BV(CS12); // CS12 = 0
    TCCR1B &= ~_BV(CS11); // CS11 = 0
    TCCR1B &= ~_BV(CS10); // CS10 = 0
    
    //force output to 0
    TCCR1A  &= ~(_BV(COM1A1) | _BV(COM1A0) );
    
    PORTD &= ~_BV(RESERVED_FOR_TIMER_PWM_BIT);
}
Exemple #2
0
void DVBevents::stop()
{
	int i;

	if ( !isRunning )
		return;

	isRunning = false;
	if ( !wait(2000) ) {
		terminate();
		wait();
		fprintf(stderr,"dvbEvents %d:%d terminated\n", adapter, tuner);
	}
	else
		fprintf(stderr,"dvbEvents %d:%d ended\n", adapter, tuner);
	stopFilter();

	for ( i=0; i<(int)plugs.count(); ++i ) {
		plugs.at(i)->stop();
	}
}
void StepMotionBlurFilter::handleStopEvent(
	const media_timed_event* pEvent) {
	PRINT(("StepMotionBlurFilter::handleStopEvent\n"));
	
	stopFilter();
}
void OffsetFilter::handleStopEvent(
	const media_timed_event* pEvent) {
	PRINT(("OffsetFilter::handleStopEvent\n"));
	
	stopFilter();
}
void FlipTransition::handleStopEvent(
	const media_timed_event* pEvent) {
	PRINT(("FlipTransition::handleStopEvent\n"));
	
	stopFilter();
}
Exemple #6
0
void FlangerNode::handleStopEvent(
	const media_timed_event* pEvent) {
	PRINT(("FlangerNode::handleStopEvent\n"));

	stopFilter();
}