Displaying 1 result from an estimated 1 matches for "stereo_t".
2001 Aug 10
1
Standard Open Source Bug detected, try murksaround ...
...as if an entry in the headers is wrong:
---------------------------------------------------------
fprintf (stderr, " ..." );
fread ( header, sizeof(*header), sizeof(header)/sizeof(*header), fp );
switch ( header[11] ) {
case 2:
*len = fread ( buff, sizeof(stereo_t), maxlen, fp );
break;
case 1:
*len = fread ( buff, sizeof(sample_t), maxlen, fp );
for ( i = *len; i-- > 0; )
buff[i][0] = buff[i][1] = ((sample_t*)buff) [i];
break;
case 0:
fprintf (stderr, "\b\b\b...