rem: unsigned long long start,end;
add: long long start,end;
context: static void* player(void *arg){	u32 datalen,tmp;#ifdef _GCMOD_DEBUG	unsigned long long start,end;#endif	thr_running = TRUE;	while(sndPlaying==TRUE) {		datalen = 0;		while(!datalen) {#ifdef _GCMOD_DEBUG			printf("player(get req)\n\n");#endif			__lwp_thread_dispatchdisable();			__lwpmq_seize(&playermq,AUDIO_DMA_REQ,(void*)&datalen,&tmp,TRUE,LWP_THREADQ_NOTIMEOUT);			__lwp_thread_dispatchenable();#ifdef _GCMOD_DEBUG			printf("player(got req,%d)\n",datalen);#endif		}		if(datalen!=-1 && sndPlaying==TRUE) {#ifdef _GCMOD_DEBUG			printf("player(run callback)\n\n");			start = gettime();#endif			curaudio ^= 1;			sndBuffer.callback(sndBuffer.usr_data,(u8*)audioBuf[curaudio],datalen);			DCFlushRange(audioBuf[curaudio],datalen);#ifdef _GCMOD_DEBUG			end = gettime();			printf("player(end callback,%d - %d us)\n\n",curaudio,diff_usec(start,end));#endif		}	}	thr_running = FALSE;	return 0;}