Hi,
I use the TLV320AIC3X codec on am335x processor. In this system , I successfully run the aplay and arecord application. But I hear
short voice and then no sound when trying the pjsua application in pjsip library. In this situation, I check the status value via
cat /proc/asound/card0/pcm0p/sub0/status , I see the result that is below.
state: PREPARED
owner_pid : 801
trigger_time: 1305732022.264972625
tstamp : 1305732051.945609499
delay : 0
avail : 0
avail_max : 0
-----
hw_ptr : 0
appl_ptr : 5120
I also check the values of proc/asound/card0/pcm0c/sub0/status for controlling the capture status. I get the same values with
cat /proc/asound/card0/pcm0p/sub0/status in owner_pid and state lines.On the other hand, I see the state: RUNNING in
/proc/asound/card0/pcm0p/sub0/status and pcm0c when I run the aplay and arecord application at the same time. In addition, values of
owner_pid is different for capture and playback status. I think that reason of not working the pjsua is that one process does not
capture and playback at the same time. Is it true?
If it is true, what the method of only running the playback or capture in pjsip?