From 7b4ea49b6759badcc78430a5fd18cd86e9ccd348 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 10 Feb 2013 00:54:09 -0500 Subject: [PATCH] src/io/sink_apple_audio.c: set s->samplerate before using it --- src/io/sink_apple_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/sink_apple_audio.c b/src/io/sink_apple_audio.c index 9269feaa..5ae19d1e 100644 --- a/src/io/sink_apple_audio.c +++ b/src/io/sink_apple_audio.c @@ -52,7 +52,7 @@ struct _aubio_sink_apple_audio_t { aubio_sink_apple_audio_t * new_aubio_sink_apple_audio(char_t * uri, uint_t samplerate) { aubio_sink_apple_audio_t * s = AUBIO_NEW(aubio_sink_apple_audio_t); - s->samplerate; + s->samplerate = samplerate; s->channels = 1; s->path = uri; s->max_frames = MAX_SIZE; -- 2.26.2