diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-03 10:24:48 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-03 16:16:46 -0800 |
commit | 1a0ae5be3d1273cba12584b33830d859510fbf82 (patch) | |
tree | 8073be7b5e33ee230159f7c0aed22bb6de63d3f9 /include/private | |
parent | 787bae0578fbaab6219ebf23494866b224d01438 (diff) | |
download | frameworks_av-1a0ae5be3d1273cba12584b33830d859510fbf82.zip frameworks_av-1a0ae5be3d1273cba12584b33830d859510fbf82.tar.gz frameworks_av-1a0ae5be3d1273cba12584b33830d859510fbf82.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/private')
-rw-r--r-- | include/private/media/AudioTrackShared.h | 1 |
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 { |