static void logerr (struct audio_pt *pt, int err, const char *fmt, ...)

{

    va_list ap;



    va_start (ap, fmt);

    AUD_vlog (pt->drv, fmt, ap);

    va_end (ap);



    AUD_log (NULL, "\n");

    AUD_log (pt->drv, "Reason: %s\n", strerror (err));

}

static void logerr (struct audio_pt *pt, int err, const char *fmt, ...)

{

    va_list ap;



    va_start (ap, fmt);

    AUD_vlog (pt->drv, fmt, ap);

    va_end (ap);



    AUD_log (NULL, "\n");

    AUD_log (pt->drv, "Reason: %s\n", strerror (err));

}

static void FUNC_0 (struct audio_pt *VAR_0, int VAR_1, const char *VAR_2, ...)

{

    va_list ap;



    va_start (ap, VAR_2);

    AUD_vlog (VAR_0->drv, VAR_2, ap);

    va_end (ap);



    AUD_log (NULL, "\n");

    AUD_log (VAR_0->drv, "Reason: %s\n", strerror (VAR_1));

}

static void FUNC_0 (struct audio_pt *VAR_0, int VAR_1, const char *VAR_2, ...)
{ va_list ap; va_start (ap, VAR_2); AUD_vlog (VAR_0->drv, VAR_2, ap); va_end (ap); AUD_log (NULL, "\n"); AUD_log (VAR_0->drv, "Reason: %s\n", strerror (VAR_1)); }