Update of /cvsroot/playerstage/code/player/examples/plugins/opaquedriver
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/examples/plugins/opaquedriver

Modified Files:
        opaquedriver.cc 
Log Message:
applied Toby's autopointer patches

Index: opaquedriver.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/examples/plugins/opaquedriver/opaquedriver.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** opaquedriver.cc     10 Apr 2006 13:27:47 -0000      1.1
--- opaquedriver.cc     23 Aug 2007 19:58:41 -0000      1.2
***************
*** 56,60 ****
  
      // This method will be invoked on each incoming message
!     virtual int ProcessMessage(MessageQueue* resp_queue,
                                 player_msghdr * hdr,
                                 void * data);
--- 56,60 ----
  
      // This method will be invoked on each incoming message
!     virtual int ProcessMessage(QueuePointer &resp_queue,
                                 player_msghdr * hdr,
                                 void * data);
***************
*** 153,157 ****
  }
  
! int OpaqueDriver::ProcessMessage(MessageQueue* resp_queue,
                                   player_msghdr* hdr,
                                   void* data)
--- 153,157 ----
  }
  
! int OpaqueDriver::ProcessMessage(QueuePointer & resp_queue,
                                   player_msghdr* hdr,
                                   void* data)
***************
*** 199,203 ****
    // only send the data we need to
    uint size = sizeof(mData) - sizeof(mData.data) + mData.data_count;
!   Publish(device_addr, NULL,
            PLAYER_MSGTYPE_DATA, PLAYER_OPAQUE_DATA_STATE,
            reinterpret_cast<void*>(&mData), size, NULL);
--- 199,203 ----
    // only send the data we need to
    uint size = sizeof(mData) - sizeof(mData.data) + mData.data_count;
!   Publish(device_addr, 
            PLAYER_MSGTYPE_DATA, PLAYER_OPAQUE_DATA_STATE,
            reinterpret_cast<void*>(&mData), size, NULL);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to