diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2017-01-31 08:18:34 +0100 |
|---|---|---|
| committer | Christopher N. Hesse <raymanfx@gmail.com> | 2017-02-02 11:35:48 +0000 |
| commit | b7f32128dcd3a46086365ad95f16f666d2eaa0b6 (patch) | |
| tree | 028c9ce57ccd23a76e80a02775f6100fc3634f35 /audio | |
| parent | cabe5e6aefdfa49441c94888eebbd70fb7ae6098 (diff) | |
| download | hardware_samsung-b7f32128dcd3a46086365ad95f16f666d2eaa0b6.tar.gz hardware_samsung-b7f32128dcd3a46086365ad95f16f666d2eaa0b6.tar.bz2 hardware_samsung-b7f32128dcd3a46086365ad95f16f666d2eaa0b6.zip | |
audio: Use C99 initializers in read_frames()
Change-Id: I69d9ac00dbd7126682c66087804c2b33cf6c86bc
Diffstat (limited to 'audio')
| -rw-r--r-- | audio/audio_hw.c | 4 |
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) { |
