Hi, I have written a soc sound device which is compatible to ALSA driver and ALSA library. Its configuration is 2 channels, interleaved , mmap, 8khz. When i am using aplay & arecord with this device then device works fine and i am able to play and record file. But if i use this device with PJSIP then it continuously gives TRIGGER STOP and START ioctl's for both playback and capture stream indicating XRUN. I have one more question : I have not created any DEFAULT DEVICE but when i use sample application "SNDINFO" provided with pjsip source it also shows a default device with 128 capture and playback channels. DUMP of sndinfo is shown here: 01:38:56.139 pasound.c PortAudio sound library initialized, status=0 01:38:56.140 pasound.c PortAudio host api count=2 01:38:56.140 pasound.c Sound device count=2 01:38:56.144 pjlib select() I/O Queue created (0x10089f94) Device #00: Name : DINESH: (hw:0,0) # of input channels : 2 # of output channels: 2 Default clock rate : 8000 Hz Device #01: Name : default # of input channels : 128 # of output channels: 128 Default clock rate : 44100 Hz Thanks & Regards, Dinesh Dua -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080902/51e630fd/attachment.html