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/pasound.c

    r1247 r1266  
    8585                              void *userData ) 
    8686{ 
    87     pjmedia_snd_stream *stream = userData; 
     87    pjmedia_snd_stream *stream = (pjmedia_snd_stream*) userData; 
    8888    pj_status_t status; 
    8989 
     
    131131                             void *userData ) 
    132132{ 
    133     pjmedia_snd_stream *stream = userData; 
     133    pjmedia_snd_stream *stream = (pjmedia_snd_stream*) userData; 
    134134    pj_status_t status; 
    135135    unsigned size = frameCount * stream->bytes_per_sample * 
     
    389389        return PJ_ENOMEM; 
    390390 
    391     stream = pj_pool_zalloc(pool, sizeof(*stream)); 
     391    stream = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_stream); 
    392392    stream->pool = pool; 
    393393    pj_strdup2_with_null(pool, &stream->name, paDevInfo->name); 
     
    485485        return PJ_ENOMEM; 
    486486 
    487     stream = pj_pool_calloc(pool, 1, sizeof(*stream)); 
     487    stream = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_stream); 
    488488    stream->pool = pool; 
    489489    pj_strdup2_with_null(pool, &stream->name, paDevInfo->name); 
     
    605605        return PJ_ENOMEM; 
    606606 
    607     stream = pj_pool_zalloc(pool, sizeof(*stream)); 
     607    stream = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_stream); 
    608608    stream->pool = pool; 
    609609    pj_strdup2_with_null(pool, &stream->name, paRecDevInfo->name); 
Note: See TracChangeset for help on using the changeset viewer.