summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-18 14:54:46 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-18 16:06:47 -0800
commita3f1fa308728976fc9ca1b4f37d26e633b32b9ac (patch)
tree613598b5d86ce915b4f505c0d9c19592fa8f7d79 /include
parent04eaf3e5f20d7faa956c0d672024ffb5117f4c26 (diff)
downloadframeworks_av-a3f1fa308728976fc9ca1b4f37d26e633b32b9ac.zip
frameworks_av-a3f1fa308728976fc9ca1b4f37d26e633b32b9ac.tar.gz
frameworks_av-a3f1fa308728976fc9ca1b4f37d26e633b32b9ac.tar.bz2
Fix incorrect includes of AudioTrack.h
Remove unnecessary includes of AudioTrack.h. Use forward declaration of class names in preference to #include when possible. Change-Id: I12982811fa75c2c7695d8bbfa595a7aaec047dc0
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioRecord.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 84a8f1c..44925f2 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -22,7 +22,6 @@
#include <media/IAudioFlinger.h>
#include <media/IAudioRecord.h>
-#include <media/AudioTrack.h>
#include <utils/RefBase.h>
#include <utils/Errors.h>
@@ -34,6 +33,8 @@
namespace android {
+class audio_track_cblk_t;
+
// ----------------------------------------------------------------------------
class AudioRecord