A subsequent patch will introduce sample_format which looks much nicer
than sampleformat. So let's use the underscored variant throughout.
* of the writer node group.
*/
unsigned sample_rate;
-
snd_pcm_format_t sample_format;
/**
* The number of channels, given by command line option or the
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;
void get_btr_sample_rate(struct btr_node *btrn, int32_t *result);
void get_btr_channels(struct btr_node *btrn, int32_t *result);
void get_btr_sample_format(struct btr_node *btrn, int32_t *result);
-