]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - alsa_write.c
Add missing documentation of moods_event_handler() and btr_free_node().
[paraslash.git] / alsa_write.c
index dfa7a2e1a5ba068da9e457068e50eeccdf079ad3..d115a52db0ae899be1ec003d4f7e060611b0ee94 100644 (file)
@@ -46,7 +46,6 @@ struct private_alsa_write_data {
         * 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
@@ -258,6 +257,7 @@ again:
                if (ret < 0)
                        goto err;
                wn->min_iqs = pad->bytes_per_frame;
+               goto again;
        }
        frames = bytes / pad->bytes_per_frame;
        frames = snd_pcm_writei(pad->handle, data, frames);