X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/662887576254386b8e3481f6f3e6f0289f2500aa..85db49a59d75229b893047fceab4667c4fdef851:/clients/playrtp.c diff --git a/clients/playrtp.c b/clients/playrtp.c index 4ea5e3b..9647437 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -104,7 +104,7 @@ unsigned minbuffer = 2 * 44100 / 10; /* 0.2 seconds */ /** @brief Buffer high watermark * * We'll only start playing when this many samples are available. */ -static unsigned readahead = 2 * 2 * 44100; +static unsigned readahead = 44100; /* 0.5 seconds */ /** @brief Maximum buffer size * @@ -590,7 +590,7 @@ int main(int argc, char **argv) { mem_init(); if(!setlocale(LC_CTYPE, "")) fatal(errno, "error calling setlocale"); - backend = &UAUDIO_DEFAULT; + backend = uaudio_apis[0]; while((n = getopt_long(argc, argv, "hVdD:m:b:x:L:R:M:aocC:re:", options, 0)) >= 0) { switch(n) { case 'h': help();