Loading services/audioflinger/AutoPark.h +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ template<typename T> class AutoPark { public: // Park the specific FastThread, which can be nullptr, in hot idle if not currently idling AutoPark(const sp<T>& fastThread) : mFastThread(fastThread) explicit AutoPark(const sp<T>& fastThread) : mFastThread(fastThread) { mPreviousCommand = FastThreadState::HOT_IDLE; if (fastThread != nullptr) { Loading services/audioflinger/LinearMap.h +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ public: FIND_METHOD_START_VALUE, // No samples in history, using start value }; LinearMap(size_t size) explicit LinearMap(size_t size) : mSize(size), mPos(0), // a circular buffer, so could start anywhere. the first sample is at 1. mSamples(0), Loading services/audiopolicy/common/managerdefinitions/include/AudioRoute.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ typedef enum { class AudioRoute : public virtual RefBase { public: AudioRoute(audio_route_type_t type) : mType(type) {} explicit AudioRoute(audio_route_type_t type) : mType(type) {} void setSources(const AudioPortVector &sources) { mSources = sources; } const AudioPortVector &getSources() const { return mSources; } Loading services/audiopolicy/common/managerdefinitions/include/IOProfile.h +2 −2 Original line number Diff line number Diff line Loading @@ -110,13 +110,13 @@ private: class InputProfile : public IOProfile { public: InputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} explicit InputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} }; class OutputProfile : public IOProfile { public: OutputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SOURCE) {} explicit OutputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SOURCE) {} }; }; // namespace android Loading
services/audioflinger/AutoPark.h +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ template<typename T> class AutoPark { public: // Park the specific FastThread, which can be nullptr, in hot idle if not currently idling AutoPark(const sp<T>& fastThread) : mFastThread(fastThread) explicit AutoPark(const sp<T>& fastThread) : mFastThread(fastThread) { mPreviousCommand = FastThreadState::HOT_IDLE; if (fastThread != nullptr) { Loading
services/audioflinger/LinearMap.h +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ public: FIND_METHOD_START_VALUE, // No samples in history, using start value }; LinearMap(size_t size) explicit LinearMap(size_t size) : mSize(size), mPos(0), // a circular buffer, so could start anywhere. the first sample is at 1. mSamples(0), Loading
services/audiopolicy/common/managerdefinitions/include/AudioRoute.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ typedef enum { class AudioRoute : public virtual RefBase { public: AudioRoute(audio_route_type_t type) : mType(type) {} explicit AudioRoute(audio_route_type_t type) : mType(type) {} void setSources(const AudioPortVector &sources) { mSources = sources; } const AudioPortVector &getSources() const { return mSources; } Loading
services/audiopolicy/common/managerdefinitions/include/IOProfile.h +2 −2 Original line number Diff line number Diff line Loading @@ -110,13 +110,13 @@ private: class InputProfile : public IOProfile { public: InputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} explicit InputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SINK) {} }; class OutputProfile : public IOProfile { public: OutputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SOURCE) {} explicit OutputProfile(const String8 &name) : IOProfile(name, AUDIO_PORT_ROLE_SOURCE) {} }; }; // namespace android