- Timestamp:
- Mar 7, 2008 2:32:29 PM (17 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/pasound.c
r1662 r1848 91 91 pj_status_t status; 92 92 93 pj_assert(frameCount == stream->samples_per_frame * stream->channel_count);93 pj_assert(frameCount * stream->channel_count == stream->samples_per_frame); 94 94 95 95 PJ_UNUSED_ARG(output); … … 141 141 stream->channel_count; 142 142 143 pj_assert(frameCount == stream->samples_per_frame * stream->channel_count);143 pj_assert(frameCount * stream->channel_count == stream->samples_per_frame); 144 144 145 145 PJ_UNUSED_ARG(input); -
pjproject/trunk/pjsip-apps/src/samples/recfile.c
r974 r1848 42 42 /* Configs */ 43 43 #define CLOCK_RATE 44100 44 #define SAMPLES_PER_FRAME (CLOCK_RATE * 20 / 1000)45 44 #define NCHANNELS 2 45 #define SAMPLES_PER_FRAME (NCHANNELS * (CLOCK_RATE * 10 / 1000)) 46 46 #define BITS_PER_SAMPLE 16 47 47
Note: See TracChangeset
for help on using the changeset viewer.