Changeset 1010:497140bf0427 in roaraudio
- Timestamp:
- 12/20/08 15:47:46 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/filter_downmix.c
r1007 r1010 65 65 for (i = 0; i < samples; i += 2) { 66 66 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; 69 69 70 70 if ( (samp[i] + samp[i+1]) < 0 )
Note: See TracChangeset
for help on using the changeset viewer.