Changeset 2062:ccb0a81398e3 in roaraudio


Ignore:
Timestamp:
07/08/09 03:02:15 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to convert data type (this currently only work if inlen < outlen)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r2061 r2062  
    897897  return 0; 
    898898 } else { 
    899   memset(outdata, 0, outlen); 
    900  } 
    901  
    902  return -1; 
     899  if ( roar_conv(outdata, indata, 8*inlen / stream_info->bits, stream_info, info) == -1 ) { 
     900   return -1; 
     901  } 
     902 
     903//  memset(outdata, 0, outlen); 
     904 } 
     905 
     906 return 0; 
    903907} 
    904908 
Note: See TracChangeset for help on using the changeset viewer.