Changeset 815:efd3990303cc in roaraudio


Ignore:
Timestamp:
09/18/08 16:19:59 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roardsp_conv_pcm162alaw()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/alaw.c

    r814 r815  
    797797} 
    798798 
     799int roardsp_conv_pcm162alaw (char * out, int16_t * in, size_t len) { 
     800 int i; 
     801 
     802 for (i = 0; i < len; i++) { 
     803  out[i] = _roardsp_pcm132alaw[i >> 3]; 
     804 } 
     805 
     806 return 0; 
     807} 
     808 
    799809//ll 
Note: See TracChangeset for help on using the changeset viewer.