summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-05-31 14:35:01 -0700
committerGlenn Kasten <gkasten@google.com>2012-06-13 15:12:42 -0700
commit0c9d26d187017f7fb028ab52a0fbc6395142faa4 (patch)
tree35fd2f6babef082b85058fd27a69bda048687295 /include/private
parentb4ea1ab821d652cb080910d4081f5f1318597a90 (diff)
downloadframeworks_av-0c9d26d187017f7fb028ab52a0fbc6395142faa4.zip
frameworks_av-0c9d26d187017f7fb028ab52a0fbc6395142faa4.tar.gz
frameworks_av-0c9d26d187017f7fb028ab52a0fbc6395142faa4.tar.bz2
Log track name on obtain/releaseBuffer warnings
This should help diagnose problems by allowing us to correlate the logs with the dumpsys media.audio_flinger output. Change-Id: I8c7c592b4f87d13b0f29c66ce7a2f301a0f063c9
Diffstat (limited to 'include/private')
-rw-r--r--include/private/media/AudioTrackShared.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h
index 469f5ff..5b133f3 100644
--- a/include/private/media/AudioTrackShared.h
+++ b/include/private/media/AudioTrackShared.h
@@ -97,9 +97,7 @@ public:
// read-only for client, server writes once at initialization and is then read-only
uint8_t frameSize; // would normally be size_t, but 8 bits is plenty
-
- // never used
- uint8_t pad1;
+ uint8_t mName; // normal tracks: track name, fast tracks: track index
// used by client only
uint16_t bufferTimeoutMs; // Maximum cumulated timeout before restarting audioflinger