Hi Wolfgang, How do i add ""#include <pjmedia_audiodev.h <http://www.pjsip.org/pjmedia/docs/html/pjmedia__audiodev_8h.htm>>""" in my application to print the list of audio devices detected in my board. I try to add all include file one by one in code given in the link: #include <pjmedia_audiodev.h <http://www.pjsip.org/pjmedia/docs/html/pjmedia__audiodev_8h.htm>> int main(){ int dev_count; pjmedia_aud_dev_index <http://www.pjsip.org/pjmedia/docs/html/group__s2__audio__device__reference.htm#ga20b636facbe0ed6ca914fb218b463db0> dev_idx; pj_status_t <http://www.pjsip.org/pjlib/docs/html/group__PJ__BASIC.htm#gab43ba3167bd2a2ab4580509dbf79200e> status; dev_count = pjmedia_aud_dev_count <http://www.pjsip.org/pjmedia/docs/html/group__s2__audio__device__reference.htm#gadb1b8058a1e0c4721b3781a1c92b15d8> (); printf("Got %d audio devices\n", dev_count); for (dev_idx=0; dev_idx<dev_count; ++i) { pjmedia_aud_dev_info <http://www.pjsip.org/pjmedia/docs/html/structpjmedia__aud__dev__info.htm> info <http://www.pjsip.org/pjlib/docs/html/group__PJ__SYS__INFO.htm#ga5fdc2ee11d7ed4e87245acd50a87a838> ; status = pjmedia_aud_dev_get_info <http://www.pjsip.org/pjmedia/docs/html/group__s2__audio__device__reference.htm#ga9fde03fa273453a8356cca94d3489d2a>(dev_idx, &info); printf("%d. %s (in=%d, out=%d)\n", dev_idx, info.name <http://www.pjsip.org/pjmedia/docs/html/structpjmedia__aud__dev__info.htm#a273a0902b3e551586e3328897d8453f4>, info.input_count <http://www.pjsip.org/pjmedia/docs/html/structpjmedia__aud__dev__info.htm#a9eb6093474d5c96a80846b05fa9326c4>, info.output_count <http://www.pjsip.org/pjmedia/docs/html/structpjmedia__aud__dev__info.htm#a308e8d84d979ad812ec5c045867beb47> ); }} here i need to include more number of header files.how do i add all header files in this application.... *************From your last mail what i under stood is************* 1. We should cross-compile and run the above code in my board 2. The above code will print the list of audio devices detected in the board. 3. Then update the drv_name and dev_name in config.h as per the output and remove the comment from corresponding code portion. 4. finally build the file again for by board ***************************please let me know it is correct sequence??******and how to add header files ??**** On Mon, Mar 2, 2015 at 10:30 PM, <pjsip-request at lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. pjmedia-problem-on ARM A5 (Aji S S) > 2. Re: pjmedia-problem-on ARM A5 (Wolfgang Vogl) > 3. Alsa under pj trouble (Brunner, Brian T.) > 4. Re: pjsip on Rasbian (Matt Broad) > 5. Re: pjsip on Rasbian (Tzafrir Cohen) > 6. Re: Alsa under pj trouble (Bill Gardner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 2 Mar 2015 12:55:28 +0530 > From: Aji S S <ss.aji246@xxxxxxxxx> > To: pjsip at lists.pjsip.org > Subject: pjmedia-problem-on ARM A5 > Message-ID: > <CAJtnye-q= > fJ2cfyzQGS0xdJ_1Had48SkmFx7vkUM7+ke+m0ROQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > dear pjsip support, > I have installed pjsip in my development board(toradex vf61),it is > successfully cross compiled and it is running fine, but when i try to make > call it shows error like,.... > > **************** > 18:39:21.728 pjsua_aud.c .Set sound device: capture=-1, playback=-2 > 18:39:21.728 pjsua_aud.c ..Error retrieving default audio device > parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) > [status=420006] > ******************* > Please help me to solve this problem. > -- > > > Regards and > Thanks > > > Aji > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150302/ffa8994d/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 02 Mar 2015 08:31:37 +0100 > From: Wolfgang Vogl <mail@xxxxxxxxxxx> > To: pjsip at lists.pjsip.org > Subject: Re: pjmedia-problem-on ARM A5 > Message-ID: <54F411D9.6020009 at voglfrei.de> > Content-Type: text/plain; charset=windows-1252 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Aji, > > http://www.pjsip.org/pjmedia/docs/html/group__audio__device__api.htm > Look for the first chapter "Working with devices" - Point 2 and 3 - > maybe this helps? > > Wolfgang > - ---- > Am 02.03.2015 um 08:25 schrieb Aji S S: > > dear pjsip support, I have installed pjsip in my development > > board(toradex vf61),it is successfully cross compiled and it is > > running fine, but when i try to make call it shows error like,.... > > > > **************** 18:39:21.728 pjsua_aud.c .Set sound device: > > capture=-1, playback=-2 18:39:21.728 pjsua_aud.c ..Error > > retrieving default audio device parameters: Unable to find default > > audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] > > ******************* Please help me to solve this problem. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIcBAEBAgAGBQJU9BHZAAoJECnqbQftp9NUJTYP/1BdPQdNrCOJDHFIvhK/jIHF > vAjOkIUYaVpsOkcW3OpPBr9Tyi5UCNtAQMBNK/TPWtGUOjAGbXTvl39Gc7V6sQOc > b/L82xuLFGcC7K04/DtjTbJWap1J7aUIgYfaY3TK/mV5ZclrXXMUMJGJCF7FUv1R > VeKe0rFhZuF6dQQT6mA0T3jAfw/Tr0WZyugAFL0jIjnhiQVPMhzAX2qp/NhPG3DC > Vy1+P4xKUT3T/LQyAGbhw+2uKbzF9xrekZ0Xq/aksb4O+RNitBECc/he84+uYlAz > 4rputcEJtc6ARTq9/WcdxmaB3RTPFdVbnolRwcuxQHnZGl0R25PEHw9Hh5zlGuzi > vOzY4jSdUbFV0dHjsI7h9vmuaLrJrwQtNd2/oGG8fuNSxJc0cgKBXEP6tvjhvgkh > YfQnrHdNZ7jxN6+NHNBopYYB0CXijZ3Z653GV/oeGQWs85kuNvbYxYZvMU91fv// > hSQdN/UjzD1ryuWKvYgHCLTaMadqY/8JIT8jPu+ngjTMkrSP2/BQVAWSZVx3GjUR > g+qkIsiSdroVV2F9IUuvBSMabk6AkcYm9AZPhXEe989AYbrtIRD5EKLd66Mx+S3M > 9sHWMZURvBfPKF1q72e6RSIDHqfSL0D1W75b7gObRurV6cQtrFcF0CthADYLUkhd > ib7kCUDPLGfKMi+aYPRD > =SJRr > -----END PGP SIGNATURE----- > > > > ------------------------------ > > -- Regards and Thanks Aji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150303/b4c7b86f/attachment.html>