diff options
| author | Piotr Pawlow <pp@siedziba.pl> | 2016-02-22 18:58:30 +0100 |
|---|---|---|
| committer | Piotr Pawlow <pp@siedziba.pl> | 2016-02-22 18:58:30 +0100 |
| commit | e1db307dbc243eff3e92a092fdd029357710de30 (patch) | |
| tree | 05b3eff2e567c9291d308093cdde9d50a98c2c36 /src | |
| parent | 3b6dd9eff1d0b43c00fdd7d06c99ba97ad641e56 (diff) | |
Fix OSS compilation due to redefined audio variable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lingot-audio-oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
