- fixed warning of incompatible type usage when ring-buffer is used for blocking interface
 - fixed compilation using MSYS with MinGW compiler (regenerate makefile with configure)
This commit is contained in:
dmitrykos 2011-03-08 17:20:07 +00:00
commit ff61de145b
3 changed files with 2 additions and 2 deletions

View file

@ -3481,7 +3481,7 @@ static PaError ReadStream( PaStream* s, void *_buffer, unsigned long frames )
// Findout if there are tail frames, flush them all before reading hardware
if ((available = PaUtil_GetRingBufferReadAvailable(stream->in.tailBuffer)) != 0)
{
UINT32 buf1_size = 0, buf2_size = 0, read, desired;
ring_buffer_size_t buf1_size = 0, buf2_size = 0, read, desired;
void *buf1 = NULL, *buf2 = NULL;
// Limit desired to amount of requested frames