diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 6e6a71a2..423ce062 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -1865,8 +1865,8 @@ static ssize_t read_frames(struct stream_in *in, void *buffer, ssize_t frames) &frames_rd); } else { struct resampler_buffer buf = { - { raw : NULL, }, - frame_count : frames_rd, + .raw = NULL, + .frame_count = frames_rd, }; get_next_buffer(&in->buf_provider, &buf); if (buf.raw != NULL) {