Changeset 1010:497140bf0427 in roaraudio


Ignore:
Timestamp:
12/20/08 15:47:46 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

RMS,...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter_downmix.c

    r1007 r1010  
    6565    for (i = 0; i < samples; i += 2) { 
    6666     s.i64      = (int64_t)samp[i]*samp[i] + (int64_t)samp[i+1]*samp[i+1]; 
    67      s.i64      = sqrt(s.i64); 
    68      s.i64     /=  2; 
     67     s.i64      = sqrtl((long double)s.i64/2.0); 
     68//     s.i64     /=  2; 
    6969 
    7070     if ( (samp[i] + samp[i+1]) < 0 ) 
Note: See TracChangeset for help on using the changeset viewer.