Ignore:
Timestamp:
Mar 7, 2008 2:32:29 PM (14 years ago)
Author:
bennylp
Message:

Ticket #504: assertion in sound device and recfile sample when using stereo

File:
1 edited

Legend:

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

    r1662 r1848  
    9191    pj_status_t status; 
    9292 
    93     pj_assert(frameCount == stream->samples_per_frame * stream->channel_count); 
     93    pj_assert(frameCount * stream->channel_count == stream->samples_per_frame); 
    9494 
    9595    PJ_UNUSED_ARG(output); 
     
    141141                    stream->channel_count; 
    142142 
    143     pj_assert(frameCount == stream->samples_per_frame * stream->channel_count); 
     143    pj_assert(frameCount * stream->channel_count == stream->samples_per_frame); 
    144144 
    145145    PJ_UNUSED_ARG(input); 
Note: See TracChangeset for help on using the changeset viewer.