Mercurial > audio-send
changeset 25:f4c7260d397a
removed uint problem for Windows compilation
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 18 Nov 2011 20:06:50 -0700 |
parents | d51f1a2b4c30 |
children | 56f83c170251 |
files | Alc/backends/send.c org/ear.org |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/Alc/backends/send.c Fri Nov 18 16:05:47 2011 -0700 1.2 +++ b/Alc/backends/send.c Fri Nov 18 20:06:50 2011 -0700 1.3 @@ -244,7 +244,7 @@ 1.4 syncContexts(data->contexts[0]->ctx , data->contexts[i]->ctx); 1.5 } 1.6 1.7 - if ((uint) samples > Device->UpdateSize){ 1.8 + if ((ALuint) samples > Device->UpdateSize){ 1.9 printf("exceeding internal buffer size; dropping samples\n"); 1.10 printf("requested %d; available %d\n", samples, Device->UpdateSize); 1.11 samples = (int) Device->UpdateSize;
2.1 --- a/org/ear.org Fri Nov 18 16:05:47 2011 -0700 2.2 +++ b/org/ear.org Fri Nov 18 20:06:50 2011 -0700 2.3 @@ -430,7 +430,7 @@ 2.4 syncContexts(data->contexts[0]->ctx , data->contexts[i]->ctx); 2.5 } 2.6 2.7 - if ((uint) samples > Device->UpdateSize){ 2.8 + if ((ALuint) samples > Device->UpdateSize){ 2.9 printf("exceeding internal buffer size; dropping samples\n"); 2.10 printf("requested %d; available %d\n", samples, Device->UpdateSize); 2.11 samples = (int) Device->UpdateSize;