Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (14 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/tonegen.c

    r1009 r1266  
    306306 
    307307    /* Create and initialize port */ 
    308     tonegen = pj_pool_zalloc(pool, sizeof(struct tonegen)); 
     308    tonegen = PJ_POOL_ZALLOC_T(pool, struct tonegen); 
    309309    if (name == NULL || name->slen == 0) name = &STR_TONE_GEN; 
    310310    status = pjmedia_port_info_init(&tonegen->base.info, name,  
     
    422422    } 
    423423     
    424     dst = frame->buf; 
     424    dst = (short*) frame->buf; 
    425425    end = dst + port->info.samples_per_frame; 
    426426 
Note: See TracChangeset for help on using the changeset viewer.