summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-21 10:35:56 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-24 13:14:28 -0800
commit3526982c1dff0fe0f1d93fbbc6f713b51dede691 (patch)
treebb35c178318185712d9bce351867bbad2ce99cee /opengl/tests/gl_basic/gl_basic.cpp
parentbe3835c64dc782c1c40ebf75badd1db47aff7b1a (diff)
Remove TrackBase::mFlags
The bit-field TrackBase::mFlags was supposed to have track-specific flags in the upper 16 bits, and system flags in the lower 16 bits. The upper 16 bits of mFlags were initialized in the TrackBase constructor from the flags parameter of IAudioFlinger::createTrack() and IAudioFlinger::openRecord(), and the lower 16 bits were cleared. However, the upper 16 bits of mFlags were never acccessed again. So really there are no track-specific flags. I left the flags in the parameter list of createTrack() and openRecord() but made a note that these should be removed eventually as they are dead. This leaves only the one system flag "step server failed". I replaced the bit-field mFlags by bool mStepServerFailed, which is simpler and slightly faster. Change-Id: I6650f5487be72791b4a67d73adcd10ffa04e2aa5
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions