• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/libaudio


Commit MetaInfo

修订版4b6b612ed474ad48d331ac49e338ba79cca00119 (tree)
时间2016-07-27 02:26:20
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

audio_hw: add parameters to match new audio HAL

更改概述

差异

--- a/audio_hw.c
+++ b/audio_hw.c
@@ -1021,7 +1021,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
10211021 audio_devices_t devices __unused,
10221022 audio_output_flags_t flags __unused,
10231023 struct audio_config *config,
1024- struct audio_stream_out **stream_out)
1024+ struct audio_stream_out **stream_out,
1025+ const char *address __unused)
10251026 {
10261027 struct audio_device *adev = (struct audio_device *)dev;
10271028 struct stream_out *out;
@@ -1187,7 +1188,11 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
11871188 audio_io_handle_t handle __unused,
11881189 audio_devices_t devices __unused,
11891190 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+
11911196 {
11921197 struct audio_device *adev = (struct audio_device *)dev;
11931198 struct stream_in *in;