summaryrefslogtreecommitdiffstats
path: root/include
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
commitea7939a079b3600cab955760839b021326f8cfc3 (patch)
tree570fb56838735a46a28e28a4f083d763f758ea24 /include
parenteb76ff27c13386eb5a2dad73b1a8366f80eb0ff7 (diff)
downloadframeworks_av-ea7939a079b3600cab955760839b021326f8cfc3.zip
frameworks_av-ea7939a079b3600cab955760839b021326f8cfc3.tar.gz
frameworks_av-ea7939a079b3600cab955760839b021326f8cfc3.tar.bz2
Whitespace
Fix indentation, and add blank lines in key places for clarity Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
Diffstat (limited to 'include')
-rw-r--r--include/common_time/local_clock.h2
-rw-r--r--include/media/AudioTrack.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/include/common_time/local_clock.h b/include/common_time/local_clock.h
index 845d1c2..384c3de 100644
--- a/include/common_time/local_clock.h
+++ b/include/common_time/local_clock.h
@@ -28,7 +28,7 @@ namespace android {
class LocalClock {
public:
- LocalClock();
+ LocalClock();
bool initCheck();
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 552e829..ad27a1e 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -169,7 +169,7 @@ public:
callback_t cbf = 0,
void* user = 0,
int notificationFrames = 0,
- int sessionId = 0);
+ int sessionId = 0);
/* Creates an audio track and registers it with AudioFlinger. With this constructor,
* the PCM data to be rendered by AudioTrack is passed in a shared memory buffer
@@ -215,7 +215,7 @@ public:
int notificationFrames = 0,
const sp<IMemory>& sharedBuffer = 0,
bool threadCanCallJava = false,
- int sessionId = 0);
+ int sessionId = 0);
/* Result of constructing the AudioTrack. This must be checked
@@ -468,6 +468,7 @@ protected:
// body of AudioTrackThread::threadLoop()
bool processAudioBuffer(const sp<AudioTrackThread>& thread);
+
status_t createTrack_l(audio_stream_type_t streamType,
uint32_t sampleRate,
audio_format_t format,