From e1db307dbc243eff3e92a092fdd029357710de30 Mon Sep 17 00:00:00 2001 From: Piotr Pawlow Date: Mon, 22 Feb 2016 18:58:30 +0100 Subject: Fix OSS compilation due to redefined audio variable. --- src/lingot-audio-oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lingot-audio-oss.c b/src/lingot-audio-oss.c index 1e1b998..5612521 100644 --- a/src/lingot-audio-oss.c +++ b/src/lingot-audio-oss.c @@ -48,7 +48,7 @@ LingotAudioHandler* lingot_audio_oss_new(char* device, int sample_rate) { char error_message[100]; const char* exception; - LingotAudioHandler* audio = malloc(sizeof(LingotAudioHandler)); + audio = malloc(sizeof(LingotAudioHandler)); audio->audio_system = AUDIO_SYSTEM_OSS; audio->dsp = open(device, O_RDONLY); -- cgit v1.2.3