summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-08-06 16:02:28 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2014-10-27 16:03:09 -0700
commitfd4c14883b268a0bc5514da135fe6b7d1ce2071b (patch)
tree29e4594fffdc70dc7d51a3abd7586a556df1e448 /services/audioflinger/AudioFlinger.cpp
parent31551f8dd625b8d40961e141d2913b0073f852ab (diff)
downloadframeworks_av-fd4c14883b268a0bc5514da135fe6b7d1ce2071b.zip
frameworks_av-fd4c14883b268a0bc5514da135fe6b7d1ce2071b.tar.gz
frameworks_av-fd4c14883b268a0bc5514da135fe6b7d1ce2071b.tar.bz2
Always use an address for remote submix
Usage of remote submix device for audio rerouting (e.g. wifi display) didn't mandate the use of addresses. Use "0" as the default address when none is specificed. In logs, only use hex format for audio devices Bug 16009464 Change-Id: Ibfb1ce6881eba8b7e34420293b8a7077a6e659e6
Diffstat (limited to 'services/audioflinger/AudioFlinger.cpp')
-rw-r--r--services/audioflinger/AudioFlinger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index b6c365e..7b65de7 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -1976,13 +1976,13 @@ sp<AudioFlinger::RecordThread> AudioFlinger::openInput_l(audio_module_handle_t m
status_t status = inHwHal->open_input_stream(inHwHal, *input, device, &halconfig,
&inStream, flags, address.string(), source);
ALOGV("openInput_l() openInputStream returned input %p, SamplingRate %d"
- ", Format %#x, Channels %x, flags %#x, status %d",
+ ", Format %#x, Channels %x, flags %#x, status %d addr %s",
inStream,
halconfig.sample_rate,
halconfig.format,
halconfig.channel_mask,
flags,
- status);
+ status, address.string());
// If the input could not be opened with the requested parameters and we can handle the
// conversion internally, try to open again with the proposed parameters. The AudioFlinger can