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;