X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_writer.c;h=601353aaac84b7a8969d4bf9b5dc01d68242de19;hp=039c9817a99f13caa5980247e1d481615755680b;hb=0a274dcc2f82620033b57dfb4f7b887302e7b207;hpb=f6363d4e0a069d41bb86cc20772b0240777045f2 diff --git a/alsa_writer.c b/alsa_writer.c index 039c9817..601353aa 100644 --- a/alsa_writer.c +++ b/alsa_writer.c @@ -40,8 +40,10 @@ extern struct gengetopt_args_info conf; /** 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; }; /* @@ -172,6 +174,7 @@ static void alsa_close(struct writer_node *wn) free(pad); } +/** the init function of the alsa writer */ void alsa_writer_init(struct writer *w) { w->open = alsa_open;