X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=alsa_write.c;h=b0b21f2be4a6ac64c2d940f499b59757273db743;hb=90f9ec2fa02dd5220392770e537759e099b447e3;hp=7a0ee5be2f75ea767df638a970168b2717194724;hpb=36ec2a43a7d9c085f16544e282a439cdbaec1e00;p=paraslash.git diff --git a/alsa_write.c b/alsa_write.c index 7a0ee5be..b0b21f2b 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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;