X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=b0b21f2be4a6ac64c2d940f499b59757273db743;hp=7a0ee5be2f75ea767df638a970168b2717194724;hb=2a6e6a1a5db3ef30000e5def9713ad457c014f49;hpb=4d9d588c5df359c3c5f279fbfd4ea51d3a2afc87 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;