X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=alsa_write.c;h=b0b21f2be4a6ac64c2d940f499b59757273db743;hb=19d0ffee2c551fb8d17f01f5bd04b0c52987147b;hp=32d8a50e98715ec92e2c43734c44c2bc33b39098;hpb=c1b282afb8e8422d12ae01a77937f27281748f1b;p=paraslash.git diff --git a/alsa_write.c b/alsa_write.c index 32d8a50e..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;