summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-03 10:24:48 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-03 16:16:46 -0800
commitd9d68dcb62760e561fadc061b593e8c76bce85d6 (patch)
tree4e48c1b6ed2404a10d9d4c52b800b5ece4467a12 /include
parentf55bc56490660e8eff92ff1f97607d6e78826629 (diff)
downloadframeworks_base-d9d68dcb62760e561fadc061b593e8c76bce85d6.zip
frameworks_base-d9d68dcb62760e561fadc061b593e8c76bce85d6.tar.gz
frameworks_base-d9d68dcb62760e561fadc061b593e8c76bce85d6.tar.bz2
Don't double destruct audio_track_cblk_t
Fortunately audio_track_cblk_t doesn't have a destructor, but for clarity remove the double destruction. Also add warning not to add any virtuals to audio_track_cblk_t. Change-Id: I70ebe1a70460c7002145b2cdf10f9f137396e6f3
Diffstat (limited to 'include')
-rw-r--r--include/private/media/AudioTrackShared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h
index dd97ce4..23226c0 100644
--- a/include/private/media/AudioTrackShared.h
+++ b/include/private/media/AudioTrackShared.h
@@ -54,6 +54,7 @@ namespace android {
#define CBLK_RESTORED_ON 0x0040 // track has been restored after invalidation
#define CBLK_RESTORED_OFF 0x0040 // by AudioFlinger
+// Important: do not add any virtual methods, including ~
struct audio_track_cblk_t
{