microphone not working with one channel

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

 



Hey everyone,
I'm having some problems with the microphone and pjsip in ARM. I can
receive calls and play audio just fine, but the mic doesn't work in either
pjsystest or pjsip. I ran the recfile sample program and that works fine,
so it's not a hardware problem. aplay and arecord also work.

I noticed that pjsystest shows the sound device opened only with 1 channel,
while recfile uses 2 channels. My ARM board has dual microphones. When I
compiled recfile with only 1 channel it also stopped working. So I thought
that might be the problem. However running pjsua with the --stereo option
does not fix the problem.

Is there a way to build the system to use 2 channels instead of specifying
at runtime? The fact that --stereo didn't do anything is surprising, since
the only difference between working recfile and non-working recfile was
chaning NCHANNELS from 2 to 1.

If anyone has any thoughts or has seen issues like this, I'd greatly
appreciate any advice you have. Thanks!
-Haomiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130211/8bd66fd0/attachment-0001.html>


[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