diff options
author | Glenn Kasten <gkasten@google.com> | 2013-02-27 09:05:28 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-03-01 15:36:26 -0800 |
commit | ab7d72f0804fbb7e91ad9d2a16f826d97e20e5d0 (patch) | |
tree | 9eda6276ab70724dcc98e56f7ca16afeb70ff079 /include/media/nbaio | |
parent | 3605ab3c02516e4123c39062de301bacc8ea8d9f (diff) | |
download | frameworks_av-ab7d72f0804fbb7e91ad9d2a16f826d97e20e5d0.zip frameworks_av-ab7d72f0804fbb7e91ad9d2a16f826d97e20e5d0.tar.gz frameworks_av-ab7d72f0804fbb7e91ad9d2a16f826d97e20e5d0.tar.bz2 |
media.log cleanup
Remove almost all of the specific logs, but leave the media.log
logging infrastructure in place for the next time we need it.
Re-apply a few good changes that were reverted earlier:
- check logf format vs. argument list compatibility
- distinguish potentially modified and actually modified tracks in FastMixer
- fix benign bug where sq->end() was called more than once
- fix a build warning
Bug: 6490974
Change-Id: I02d3e83646c738acaebb415bd0d6b548638b4ef5
Diffstat (limited to 'include/media/nbaio')
-rw-r--r-- | include/media/nbaio/NBLog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/nbaio/NBLog.h b/include/media/nbaio/NBLog.h index 8fc417f..107ba66 100644 --- a/include/media/nbaio/NBLog.h +++ b/include/media/nbaio/NBLog.h @@ -115,7 +115,7 @@ public: virtual ~Writer() { } virtual void log(const char *string); - virtual void logf(const char *fmt, ...); + virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); virtual void logvf(const char *fmt, va_list ap); virtual void logTimestamp(); virtual void logTimestamp(const struct timespec& ts); @@ -149,7 +149,7 @@ public: LockedWriter(size_t size, void *shared); virtual void log(const char *string); - virtual void logf(const char *fmt, ...); + virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); virtual void logvf(const char *fmt, va_list ap); virtual void logTimestamp(); virtual void logTimestamp(const struct timespec& ts); |