Changeset 5170:33a684d40d62 in roaraudio for libroardsp


Ignore:
Timestamp:
10/22/11 00:22:59 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected cutoff freq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter_lowp.c

    r4708 r5170  
    3030int roardsp_lowp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id) { 
    3131 struct roardsp_lowp * self = roar_mm_malloc(sizeof(struct roardsp_lowp)); 
    32  float freq = filter->rate/2; 
     32 float freq = filter->rate/2.45; 
    3333 
    3434 ROAR_DBG("roardsp_lowp_init(*): self=%p", self); 
     
    119119 
    120120 self = filter->inst; 
    121  freq = filter->rate/2; 
     121 freq = filter->rate/2.45; 
    122122 
    123123 switch (what) { 
Note: See TracChangeset for help on using the changeset viewer.