diff options
Diffstat (limited to 'audio/legacy')
-rw-r--r-- | audio/legacy/audio_hw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/legacy/audio_hw.c b/audio/legacy/audio_hw.c index cef97c5..1ce01f5 100644 --- a/audio/legacy/audio_hw.c +++ b/audio/legacy/audio_hw.c | |||
@@ -1143,6 +1143,8 @@ static int adev_open_input_stream(struct audio_hw_device *dev, | |||
1143 | in->requested_channels = popcount(config->channel_mask); | 1143 | in->requested_channels = popcount(config->channel_mask); |
1144 | in->hw_frame_size = in->config.channels * sizeof(int16_t); | 1144 | in->hw_frame_size = in->config.channels * sizeof(int16_t); |
1145 | in->remix = NULL; | 1145 | in->remix = NULL; |
1146 | in->resampler = NULL; | ||
1147 | in->buffer = NULL; | ||
1146 | adev->in = in; | 1148 | adev->in = in; |
1147 | 1149 | ||
1148 | /* in-place stereo-to-mono remix since capture stream is stereo */ | 1150 | /* in-place stereo-to-mono remix since capture stream is stereo */ |