Searched refs:play_pos (Results 1 – 2 of 2) sorted by relevance
/reactos/modules/rostests/winetests/dsound/ |
H A D | ds3d8.c | 100 DWORD last_play_pos,play_pos,buf_free; in buffer_service8() local 103 rc=IDirectSoundBuffer_GetCurrentPosition(state->dsbo,&play_pos,NULL); in buffer_service8() 111 if (play_pos<last_play_pos) in buffer_service8() 112 state->played+=state->buffer_size-last_play_pos+play_pos; in buffer_service8() 114 state->played+=play_pos-last_play_pos; in buffer_service8() 118 state->buffer_size,last_play_pos,play_pos,state->played, in buffer_service8() 128 if (state->offset<=play_pos) in buffer_service8() 129 buf_free=play_pos-state->offset; in buffer_service8() 131 buf_free=state->buffer_size-state->offset+play_pos; in buffer_service8()
|
H A D | ds3d.c | 248 DWORD last_play_pos,play_pos,buf_free; in buffer_service() local 251 rc=IDirectSoundBuffer_GetCurrentPosition(state->dsbo,&play_pos,NULL); in buffer_service() 259 if (play_pos<last_play_pos) in buffer_service() 260 state->played+=state->buffer_size-last_play_pos+play_pos; in buffer_service() 262 state->played+=play_pos-last_play_pos; in buffer_service() 266 state->buffer_size,last_play_pos,play_pos,state->played, in buffer_service() 276 if (state->offset<=play_pos) in buffer_service() 277 buf_free=play_pos-state->offset; in buffer_service() 279 buf_free=state->buffer_size-state->offset+play_pos; in buffer_service()
|