Playing WAV File to Sound Device

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

 



What error message are you getting? It would be helpful if you could
post the complete output of your program when it's run.

Before you do this, uncomment all the calls to app_perror() and use
this function (this is in the sources, in
pjsip-apps/src/samples/util.h):

/* Util to display the error message for the specified error code  */
static int app_perror( const char *sender, const char *title,
                       pj_status_t status)
{
    char errmsg[PJ_ERR_MSG_SIZE];

    pj_strerror(status, errmsg, sizeof(errmsg));

    PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status));
    return 1;
}

This displays very useful error messages.

John G



[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