Пример #1
0
 private Code ChannelEndCallback(IntPtr channelraw, CallbackType type, IntPtr commanddata1, IntPtr commanddata2)
 {
     if (type == CallbackType.End)
     {
         Action action = _playNextFileAction;
         if (action != null)
         {
             action();
         }
     }
     return(Code.OK);
 }
Пример #2
0
 private Code ChannelEndCallback(IntPtr channelraw, CallbackType type, IntPtr commanddata1, IntPtr commanddata2)
 {
     if (type == CallbackType.End)
     {
         Action action = _playNextFileAction;
         if (action != null)
             action();
     }
     return Code.OK;
 }