oss sound fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@752 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
9a8b900051
commit
5632b932bc
@ -238,7 +238,7 @@ wave_out_play(void)
|
||||
duration = (out->size * (1000000 / (g_samplewidth * g_snd_rate)));
|
||||
elapsed = (tv.tv_sec - startedat_s) * 1000000 + (tv.tv_usec - startedat_us);
|
||||
|
||||
if (elapsed >= (duration * 7) / 10)
|
||||
if (elapsed >= (duration * 85) / 100)
|
||||
{
|
||||
rdpsnd_send_completion(packet->tick, packet->index);
|
||||
free(out->data);
|
||||
|
Loading…
Reference in New Issue
Block a user