return ret;
}
}
+ if (!size)
+ continue;
PARA_INFO_LOG("writing chunk %lu\n", i);
ret = write_all(STDOUT_FILENO, buf, &size);
if (ret < 0)
return 1;
}
+/**
+ * The main function of para_afh.
+ *
+ * \param argc Usual argument count.
+ * \param argv Usual argument vector.
+ *
+ * \return \p EXIT_FAILURE or \p EXIT_SUCCESS.
+ */
int main(int argc, char **argv)
{
int ret, audio_format_num, fd;