Alsa sharing problem.

JA
Javier AEQ
Thu, Apr 23, 2020 9:11 AM

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.

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.