hardware/libaudio
修订版 | 4b6b612ed474ad48d331ac49e338ba79cca00119 (tree) |
---|---|
时间 | 2016-07-27 02:26:20 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
audio_hw: add parameters to match new audio HAL
@@ -1021,7 +1021,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev, | ||
1021 | 1021 | audio_devices_t devices __unused, |
1022 | 1022 | audio_output_flags_t flags __unused, |
1023 | 1023 | struct audio_config *config, |
1024 | - struct audio_stream_out **stream_out) | |
1024 | + struct audio_stream_out **stream_out, | |
1025 | + const char *address __unused) | |
1025 | 1026 | { |
1026 | 1027 | struct audio_device *adev = (struct audio_device *)dev; |
1027 | 1028 | struct stream_out *out; |
@@ -1187,7 +1188,11 @@ static int adev_open_input_stream(struct audio_hw_device *dev, | ||
1187 | 1188 | audio_io_handle_t handle __unused, |
1188 | 1189 | audio_devices_t devices __unused, |
1189 | 1190 | struct audio_config *config, |
1190 | - struct audio_stream_in **stream_in) | |
1191 | + struct audio_stream_in **stream_in, | |
1192 | + audio_input_flags_t flags __unused, | |
1193 | + const char *address __unused, | |
1194 | + audio_source_t source __unused) | |
1195 | + | |
1191 | 1196 | { |
1192 | 1197 | struct audio_device *adev = (struct audio_device *)dev; |
1193 | 1198 | struct stream_in *in; |