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/pjsip-apps/src/samples/recfile.c

    r974 r1848  
    4242/* Configs */ 
    4343#define CLOCK_RATE          44100 
    44 #define SAMPLES_PER_FRAME   (CLOCK_RATE * 20 / 1000) 
    4544#define NCHANNELS           2 
     45#define SAMPLES_PER_FRAME   (NCHANNELS * (CLOCK_RATE * 10 / 1000)) 
    4646#define BITS_PER_SAMPLE     16 
    4747 
Note: See TracChangeset for help on using the changeset viewer.