* Test if audio buffer contains a valid wave header.
*
* \return If not, return -E_NO_WAV_HEADER, otherwise, return zero. If
- * there is less than WAV_HEADER_LEN bytes awailable, return one.
+ * there is less than WAV_HEADER_LEN bytes available, return one.
*/
static void check_wav_pre_select(__a_unused struct sched *s, struct task *t)
{
enum writer_enum {WRITER_ENUM};
/**
- * decbribes one running instance of a writer
+ * Describes one running instance of a writer.
*/
struct writer_node {
/** points to the writer structure associated with this node */
*
* This function should perform any work necessary to write the incoming
* stream. If To this aim, it may allocate its private data structure and store
- * a pointer to that structure via the given writer_node paramenter.
+ * a pointer to that structure via the given writer_node parameter.
*/
int (*open)(struct writer_node *);
/**
int (*pre_select)(struct sched *s, struct writer_node *wn);
/**
* Called from the post_select function of the wng task. It must keep
- * track of the the number of bytes consumed from the wng's buffer via
+ * track of the number of bytes consumed from the wng's buffer via
* the wn->written variable (which may be modified by the wng handling
* functions). This function must return positive on success and
* negative on errors.
* \return If at least one open function returned an error, all successful
* writer notes get closed and this error value is returned. Upon success, a
* task associated with \a g is registered to the scheduler and the function
- * returnes a positive value.
+ * returns a positive value.
* */
int wng_open(struct writer_node_group *g)
{
* \param writer_num contains the number of the writer upon success
*
* This function checks whether \a wa starts with the name of a supported
- * paraslash writer, optinally followed by a colon and any options for that
+ * paraslash writer, optionally followed by a colon and any options for that
* writer. If a valid writer name was found and further are present, the
* remaining part of \a wa is passed to that writer's config parser.
*