pfeeee...
This commit is contained in:
@@ -59,10 +59,7 @@ if ( NULL == (samples = malloc(BUFFER_SIZE*sizeof(short))) )
|
||||
abort();
|
||||
}
|
||||
|
||||
while ( (lu=sf_read_short(sndf, samples, BUFFER_SIZE)) > 0 )
|
||||
{
|
||||
// fprintf(stderr, " LU = %5u\n", lu);
|
||||
|
||||
while ( (lu=sf_read_short(sndf, samples, BUFFER_SIZE)) > 0 ) {
|
||||
for (foo=0; foo<lu; foo+=2) {
|
||||
printf("%d %d\n", samples[foo], samples[foo+1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user