/** data specific to the alsa writer */
struct private_alsa_data {
- snd_pcm_t *handle;
- size_t bytes_per_frame;
+/** the alsa handle */
+snd_pcm_t *handle;
+/** determined and set by alsa_open() */
+size_t bytes_per_frame;
};
/*
free(pad);
}
+/** the init function of the alsa writer */
void alsa_writer_init(struct writer *w)
{
w->open = alsa_open;