diff options
author | Glenn Kasten <gkasten@google.com> | 2013-10-07 16:16:06 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-10-07 16:16:06 +0000 |
commit | fee4ce338d78eeb58af1f66831ead53322d3859e (patch) | |
tree | f90931a7c5c4628b0e8e47976d68a9d586802b53 /include/media | |
parent | ea0fadeb5d81ef3cb7f9db458c9033d628bdb86a (diff) | |
parent | e93cf2ca27ae6f4a81d4ef548bbf10a34db6d98f (diff) | |
download | frameworks_av-fee4ce338d78eeb58af1f66831ead53322d3859e.zip frameworks_av-fee4ce338d78eeb58af1f66831ead53322d3859e.tar.gz frameworks_av-fee4ce338d78eeb58af1f66831ead53322d3859e.tar.bz2 |
Merge "Cleanup openRecord error handling" into klp-dev
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IAudioFlinger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/IAudioFlinger.h b/include/media/IAudioFlinger.h index 49f921b..eaf7780 100644 --- a/include/media/IAudioFlinger.h +++ b/include/media/IAudioFlinger.h @@ -53,6 +53,9 @@ public: }; typedef uint32_t track_flags_t; + // invariant on exit for all APIs that return an sp<>: + // (return value != 0) == (*status == NO_ERROR) + /* create an audio track and registers it with AudioFlinger. * return null if the track cannot be created. */ |