/*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2011 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
int state;
/** Number of channels. */
unsigned channels;
- unsigned sample_rate;
unsigned sample_format;
+ /** Sample rate specified in wav header given by \a buf. */
+ unsigned sample_rate;
/** The task structure used by the scheduler. */
struct task task;
struct btr_node *btrn;
w->close(wn);
btr_free_node(wn->btrn);
+ w->free_config(wn->conf);
free(wn->conf);
}
free(wns);