Changeset 3001:98395340e261 in roaraudio for libroardsp/filter_lowp.c


Ignore:
Timestamp:
10/27/09 12:01:55 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not use malloc()/free() but roar_mm_*()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter_lowp.c

    r1141 r3001  
    2828 
    2929int roardsp_lowp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id) { 
    30  struct roardsp_lowp * self = malloc(sizeof(struct roardsp_lowp)); 
     30 struct roardsp_lowp * self = roar_mm_malloc(sizeof(struct roardsp_lowp)); 
    3131 float freq = filter->rate/2; 
    3232 
     
    4747int roardsp_lowp_uninit(struct roardsp_filter * filter) { 
    4848 
    49  free(filter->inst); 
     49 roar_mm_free(filter->inst); 
    5050 return 0; 
    5151} 
Note: See TracChangeset for help on using the changeset viewer.