protected void failed ( ) { if ( _buffer != null ) { _buffer . delete ( ) ; _buffer = null ; } _state = UNLOADED ; _observers . apply ( new ObserverList . ObserverOp < Observer > ( ) { public boolean apply ( Observer observer ) { observer . clipFailed ( ClipBuffer . this ) ; return true ; } } ) ; _observers . clear ( ) ; }
Called when we fail in some part of the process in resolving our clip data . Notifies our observers and resets the clip to the UNLOADED state .