summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-14 12:56:26 -0700
committerGlenn Kasten <gkasten@google.com>2012-03-19 17:53:33 -0700
commitf743e1f6abdb018fc58c467cdf35cbb8b81cf8c4 (patch)
treecc01c648f5b8b7bd10f852dde7037c98f6e0066e /voip
parentbf02b984738f6be5cc2e2d66b12aff7af99eb79e (diff)
downloadframeworks_base-f743e1f6abdb018fc58c467cdf35cbb8b81cf8c4.zip
frameworks_base-f743e1f6abdb018fc58c467cdf35cbb8b81cf8c4.tar.gz
frameworks_base-f743e1f6abdb018fc58c467cdf35cbb8b81cf8c4.tar.bz2
Whitespace
Fix indentation, and add blank lines in key places for clarity Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
Diffstat (limited to 'voip')
-rw-r--r--voip/jni/rtp/AudioGroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/voip/jni/rtp/AudioGroup.cpp b/voip/jni/rtp/AudioGroup.cpp
index 1139577..b9bbd16 100644
--- a/voip/jni/rtp/AudioGroup.cpp
+++ b/voip/jni/rtp/AudioGroup.cpp
@@ -809,9 +809,9 @@ bool AudioGroup::DeviceThread::threadLoop()
AudioTrack track;
AudioRecord record;
if (track.set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
- AUDIO_CHANNEL_OUT_MONO, output) != NO_ERROR || record.set(
- AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
- AUDIO_CHANNEL_IN_MONO, input) != NO_ERROR) {
+ AUDIO_CHANNEL_OUT_MONO, output) != NO_ERROR ||
+ record.set(AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
+ AUDIO_CHANNEL_IN_MONO, input) != NO_ERROR) {
ALOGE("cannot initialize audio device");
return false;
}