summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f3b4f32)
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;
* 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
snd_pcm_format_t sample_format;
/**
* The number of channels, given by command line option or the
int state;
/** Number of channels. */
unsigned channels;
int state;
/** Number of channels. */
unsigned channels;
+ /** 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;
/** 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);
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);