summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 6e6a71a..423ce06 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) {