#ifndef _ABSTRACT_JB_H_
#define _ABSTRACT_JB_H_
-#include <stdio.h>
#include <sys/time.h>
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
-struct ast_channel;
struct ast_frame;
-
/* Configuration flags */
enum {
AST_JB_ENABLED = (1 << 0),
* appropriate internal jb flags to the channels, determining further behaviour
* of the bridged jitterbuffers.
*
- * \return zero if there are no jitter buffers in use, non-zero if there are
+ * \retval zero if there are no jitter buffers in use
+ * \retval non-zero if there are
*/
int ast_jb_do_usecheck(struct ast_channel *c0, struct ast_channel *c1);
/*!
* \brief Puts a frame into a channel jitterbuffer.
* \param chan channel.
- * \param frame frame.
+ * \param f frame.
*
* Called from ast_generic_bridge() to put a frame into a channel's jitterbuffer.
* The function will successfuly enqueue a frame if and only if:
* Dropped by the jb implementation frames are considered successfuly enqueued as
* far as they should not be delivered at all.
*
- * \return zero if the frame was queued, -1 if not.
+ * \retval 0 if the frame was queued
+ * \retval -1 if not
*/
int ast_jb_put(struct ast_channel *chan, struct ast_frame *f);
*
* \return zero if the property was set to the configuration, -1 if not.
*/
-int ast_jb_read_conf(struct ast_jb_conf *conf, char *varname, char *value);
+int ast_jb_read_conf(struct ast_jb_conf *conf, const char *varname, const char *value);
/*!