shared = TRUE;
break;
case ASM_EVENT_SHARE_MMSOUND:
- resource = "sound";
+ resource = "event";
shared = TRUE;
break;
case ASM_EVENT_SHARE_OPENAL:
+ resource = "game";
shared = TRUE;
break;
case ASM_EVENT_SHARE_AVSYSTEM:
+ resource = "event";
shared = TRUE;
break;
case ASM_EVENT_EXCLUSIVE_MMPLAYER:
shared = FALSE;
break;
case ASM_EVENT_EXCLUSIVE_MMSOUND:
- resource = "sound";
+ resource = "event";
shared = FALSE;
break;
case ASM_EVENT_EXCLUSIVE_OPENAL:
+ resource = "game";
shared = FALSE;
break;
case ASM_EVENT_EXCLUSIVE_AVSYSTEM:
+ resource = "event";
shared = FALSE;
break;
case ASM_EVENT_NOTIFY:
+ resource = "event";
shared = FALSE;
break;
case ASM_EVENT_CALL:
shared = FALSE;
break;
case ASM_EVENT_SHARE_FMRADIO:
+ resource = "radio";
shared = TRUE;
break;
case ASM_EVENT_EXCLUSIVE_FMRADIO:
+ resource = "radio";
shared = FALSE;
break;
case ASM_EVENT_EARJACK_UNPLUG:
shared = TRUE;
break;
case ASM_EVENT_ALARM:
+ resource = "alert";
shared = FALSE;
break;
case ASM_EVENT_VIDEOCALL:
}
}
- /* TODO: free memory and check if the resource set is empty when
- * the resource library supports it */
-
/* no reply needed! */
goto noreply;
return reply;
error:
- /* TODO: need to write some sort of message back? */
+ /* write some message back to avoid client locking */
+ return reply;
noreply: