Changeset 817:4f7845da4f96 in roaraudio


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

got alaw encoding working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/alaw.c

    r815 r817  
    801801 
    802802 for (i = 0; i < len; i++) { 
    803   out[i] = _roardsp_pcm132alaw[i >> 3]; 
     803  out[i] = _roardsp_pcm132alaw[(in[i] + 32768) >> 3]; 
    804804 } 
    805805 
Note: See TracChangeset for help on using the changeset viewer.