rename WAVEOUTBUF to WAVEOUTLEN and increase it to 1024 bytes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1289 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
23ea0a9173
commit
188b928bfa
@ -29,7 +29,7 @@
|
||||
#include <ao/ao.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#define WAVEOUTBUF 512
|
||||
#define WAVEOUTLEN 1024
|
||||
|
||||
static ao_device *o_device = NULL;
|
||||
static int default_driver;
|
||||
@ -148,7 +148,7 @@ libao_play(void)
|
||||
|
||||
next_tick = rdpsnd_queue_next_tick();
|
||||
|
||||
len = (WAVEOUTBUF > (out->end - out->p)) ? (out->end - out->p) : WAVEOUTBUF;
|
||||
len = (WAVEOUTLEN > (out->end - out->p)) ? (out->end - out->p) : WAVEOUTLEN;
|
||||
ao_play(o_device, (char *) out->p, len);
|
||||
out->p += len;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user