[server] / trunk / server / src / mmdevice.cxx Repository:
ViewVC logotype

Diff of /trunk/server/src/mmdevice.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 625, Thu Mar 18 13:32:50 2010 UTC revision 626, Thu Mar 18 16:22:15 2010 UTC
# Line 658  Line 658 
658  {  {
659          if ( playActive_ )          if ( playActive_ )
660          {          {
661                  LOGINFO("MmDevice::stopPlay() device: " << getDeviceName());                  LOGDEBUG("MmDevice::stopPlay() device: " << getDeviceName());
662    
                 MM_STOP mmStopInfo[2];  
663                  MM_STOP_DETAILS mmStopDetails;                  MM_STOP_DETAILS mmStopDetails;
664                  memset(&mmStopDetails, 0, sizeof(MM_STOP_DETAILS));                  INIT_MM_STOP_DETAILS(&mmStopDetails);
665    
666                    MM_STOP mmStopInfo[2];
667    
668                  mmStopInfo[0].unVersion = 0;                  INIT_MM_STOP(&mmStopInfo[0]);
669                  mmStopInfo[0].ItemChain = EMM_ITEM_CONT;                  mmStopInfo[0].ItemChain = EMM_ITEM_CONT;
670                  mmStopInfo[0].ItemType = EMM_STOP_VIDEO_PLAY;                  mmStopInfo[0].ItemType = EMM_STOP_VIDEO_PLAY;
671                  mmStopInfo[0].details = mmStopDetails;                  mmStopInfo[0].details = mmStopDetails;
672                  mmStopInfo[0].next = &mmStopInfo[1];                  mmStopInfo[0].next = &mmStopInfo[1];
673    
674                  mmStopInfo[1].unVersion = 0;                  INIT_MM_STOP(&mmStopInfo[1]);
675                  mmStopInfo[1].ItemChain = EMM_ITEM_EOT;                  mmStopInfo[1].ItemChain = EMM_ITEM_EOT;
676                  mmStopInfo[1].ItemType = EMM_STOP_AUDIO_PLAY;                  mmStopInfo[1].ItemType = EMM_STOP_AUDIO_PLAY;
677                  mmStopInfo[1].details = mmStopDetails;                  mmStopInfo[1].details = mmStopDetails;
# Line 695  Line 696 
696  {  {
697          if ( recordActive_ )          if ( recordActive_ )
698          {          {
699                  LOGINFO("MmDevice::stopRecord() device: " << getDeviceName());                  LOGDEBUG("MmDevice::stopRecord() device: " << getDeviceName());
700    
                 MM_STOP mmStopInfo[2];  
701                  MM_STOP_DETAILS mmStopDetails;                  MM_STOP_DETAILS mmStopDetails;
702                  memset(&mmStopDetails, 0, sizeof(MM_STOP_DETAILS));                  INIT_MM_STOP_DETAILS(&mmStopDetails);
703    
704                  mmStopInfo[0].unVersion = 0;                  MM_STOP mmStopInfo[2];
705    
706                    INIT_MM_STOP(&mmStopInfo[0]);
707                  mmStopInfo[0].ItemChain = EMM_ITEM_CONT;                  mmStopInfo[0].ItemChain = EMM_ITEM_CONT;
708                  mmStopInfo[0].ItemType = EMM_STOP_VIDEO_RECORD;                  mmStopInfo[0].ItemType = EMM_STOP_VIDEO_RECORD;
709                  mmStopInfo[0].details = mmStopDetails;                  mmStopInfo[0].details = mmStopDetails;
710                  mmStopInfo[0].next = &mmStopInfo[1];                  mmStopInfo[0].next = &mmStopInfo[1];
711    
712                  mmStopInfo[1].unVersion = 0;                  INIT_MM_STOP(&mmStopInfo[1]);
713                  mmStopInfo[1].ItemChain = EMM_ITEM_EOT;                  mmStopInfo[1].ItemChain = EMM_ITEM_EOT;
714                  mmStopInfo[1].ItemType = EMM_STOP_AUDIO_RECORD;                  mmStopInfo[1].ItemType = EMM_STOP_AUDIO_RECORD;
715                  mmStopInfo[1].details = mmStopDetails;                  mmStopInfo[1].details = mmStopDetails;
# Line 1072  Line 1074 
1074  }  }
1075    
1076    
   
   
1077  /* vim:ts=4:set nu:  /* vim:ts=4:set nu:
1078   * EOF   * EOF
1079   */   */

Legend:
Removed from v.625  
changed lines
  Added in v.626

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.8