X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=alsa_write.c;h=b0b21f2be4a6ac64c2d940f499b59757273db743;hb=f6db57bc964bc78f1a7ce521dee2108289cd8b8e;hp=43b26868bef5abdf3d9268cc93f7b1ca8524693f;hpb=9b406cbe5d20ba969713ca3d7a8033e697476d75;p=paraslash.git diff --git a/alsa_write.c b/alsa_write.c index 43b26868..b0b21f2b 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -125,7 +125,7 @@ static int alsa_init(struct private_alsa_write_data *pad, period_time = pad->buffer_time * 250; /* buffer time / 4 */ msg = "could not set period time"; ret = snd_pcm_hw_params_set_period_time_near(pad->handle, hwparams, - &period_time, 0); + &period_time, NULL); if (ret < 0) goto fail;