mmserv/tms/tmsimpl/src/tmsstreambodyimpl.cpp
changeset 38 9e9fc5ab059f
parent 33 5e8b14bae8c3
child 53 eabc8c503852
equal deleted inserted replaced
36:73253677b50a 38:9e9fc5ab059f
   720 
   720 
   721 void TMSStreamBodyImpl::QueueEvent(TInt aEventType, TInt aError,
   721 void TMSStreamBodyImpl::QueueEvent(TInt aEventType, TInt aError,
   722         void* user_data)
   722         void* user_data)
   723     {
   723     {
   724     TMSSignalEvent event = {}; //all elements initialized to zeros
   724     TMSSignalEvent event = {}; //all elements initialized to zeros
   725     event.reason = aError;
   725     event.reason = TMSRESULT(aError);
   726     event.user_data = user_data;
   726     event.user_data = user_data;
   727     iStreamState = aEventType;
   727     iStreamState = aEventType;
   728 
   728 
   729     switch (aEventType)
   729     switch (aEventType)
   730         {
   730         {