Changeset 3001:98395340e261 in roaraudio for libroardsp/filter_highp.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_highp.c

    r1141 r3001  
    2828 
    2929int roardsp_highp_init  (struct roardsp_filter * filter, struct roar_stream * stream, int id) { 
    30  struct roardsp_highp * self = malloc(sizeof(struct roardsp_highp)); 
     30 struct roardsp_highp * self = roar_mm_malloc(sizeof(struct roardsp_highp)); 
    3131 float freq = 25; 
    3232 
     
    4545int roardsp_highp_uninit(struct roardsp_filter * filter) { 
    4646 
    47  free(filter->inst); 
     47 roar_mm_free(filter->inst); 
    4848 return 0; 
    4949} 
Note: See TracChangeset for help on using the changeset viewer.