On Thu, Sep 29, 2011 at 9:11 PM, Vikas Gupta <vikas.gupta at vektrix.in> wrote: > Hi All > > I am trying to play a wav file using wav file player but whenever I start > playing the file following assert fails: > conference.c line no: 1494 pj_assert(cport->rx_buf_count <= > cport->rx_buf_cap); > > The file details are : samp.rate=11025, ch=1, bufsize=4KB, filesize=142KB > Sampling rate 11025 tends to be problematic, e.g. if you use 20ms ptime you'd end up with 220.5 samples per frame (note the fractional/half sample). You need to use multiple of 40ms ptime, or best just avoid this sampling rate altogether. Benny