Alsa sharing problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to use a multi channel sound card with pjsua and I have a error: 

/src/pjmedia/conference.c:1895: get_frame: Assertion `frame->size == conf->samples_per_frame * conf->bits_per_sample / 8' failed.

I test the devices and has the same problem.

Audio Device Test
This will run an automated test for about ten seconds or so, and display some statistics about your sound device. Please don't do anything until the test completes. Press OK to start, or CANCEL to skip this test.
1:OK  9:Cancel  
1
11:07:34.223              systest.c  Running Audio Device Test
11:07:34.428            audiotest.c   Please wait while test is in progress (~11 secs)..
11:07:45.449            pjsua_aud.c !Set sound device: capture=-1, playback=-2
11:07:45.449            pjsua_aud.c  .Opening sound device (speaker + mic) PCM@8000/1/20ms
Audio Device Test
Here are the audio statistics:
Rec : interval (min/max/avg/dev)=
         42/43/43/0 (ms)
      max burst=3
Play: interval (min/max/avg/dev)=
         42/43/43/0 (ms)
      burst=3

The sound device seems to be okay!
pjsystest-x86_64-unknown-linux-gnu: ../src/pjmedia/conference.c:1895: get_frame: Assertion `frame->size == conf->samples_per_frame * conf->bits_per_sample / 8' failed.

I found a old email from 2012 with similar problem and toke the info to solve but doesn't work because it's a old version. I have the latest version.

Could you please help me? 
Thanks in advance.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux