/*
- * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
{
struct writer_node_group *g = t->private_data;
- PARA_INFO_LOG("%s\n", PARA_STRERROR(-t->ret));
+ PARA_INFO_LOG("%s\n", para_strerror(-t->ret));
unregister_task(t);
wng_close(g);
}
{
int ret;
- PARA_INFO_LOG("%s\n", PARA_STRERROR(-t->ret));
+ PARA_INFO_LOG("%s\n", para_strerror(-t->ret));
unregister_task(t);
wng->buf = sit.buf;
wng->loaded = &sit.loaded;
wng->samplerate = &cwt.samplerate;
ret = wng_open(wng);
if (ret < 0) {
- PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
+ PARA_ERROR_LOG("%s\n", para_strerror(-ret));
exit(EXIT_FAILURE);
}
}
static void cwt_event_handler(struct task *t)
{
if (t->ret != -E_NO_WAV_HEADER && t->ret != -E_WAV_HEADER_SUCCESS) {
- PARA_ERROR_LOG("%s\n", PARA_STRERROR(-t->ret));
+ PARA_ERROR_LOG("%s\n", para_strerror(-t->ret));
exit(EXIT_FAILURE);
}
- PARA_INFO_LOG("%s\n", PARA_STRERROR(-t->ret));
+ PARA_INFO_LOG("%s\n", para_strerror(-t->ret));
unregister_task(t);
// if (t->ret == -E_WAV_HEADER_SUCCESS) {
// conf.channels_arg = cwt.channels;
out:
if (ret < 0) {
- PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
+ PARA_ERROR_LOG("%s\n", para_strerror(-ret));
ret = EXIT_FAILURE;
} else
ret = EXIT_SUCCESS;