Loading services/audiopolicy/engineconfigurable/src/Collection.h +2 −1 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ template <typename Key> class Collection : public std::map<Key, Element<Key> *> { private: typedef std::map<Key, Element<Key> *> Base; typedef Element<Key> T; typedef typename std::map<Key, T *>::iterator CollectionIterator; typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator; Loading Loading @@ -127,7 +128,7 @@ public: for (it = (*this).begin(); it != (*this).end(); ++it) { delete it->second; } (*this).clear(); Base::clear(); } private: Loading services/audiopolicy/engineconfigurable/src/Stream.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ routing_strategy Element<audio_stream_type_t>::get<routing_strategy>() const status_t Element<audio_stream_type_t>::setVolumeProfile(device_category category, const VolumeCurvePoints &points) { ALOGD("%s: adding volume profile for %s for device category %d, points nb =%d", __FUNCTION__, ALOGD("%s: adding volume profile for %s for device category %d, points nb =%zu", __FUNCTION__, getName().c_str(), category, points.size()); mVolumeProfiles[category] = points; for (size_t i = 0; i < points.size(); i++) { ALOGV("%s: %s cat=%d curve index =%d Index=%d dBAttenuation=%f", ALOGV("%s: %s cat=%d curve index =%zu Index=%d dBAttenuation=%f", __FUNCTION__, getName().c_str(), category, i, points[i].mIndex, points[i].mDBAttenuation); } Loading Loading
services/audiopolicy/engineconfigurable/src/Collection.h +2 −1 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ template <typename Key> class Collection : public std::map<Key, Element<Key> *> { private: typedef std::map<Key, Element<Key> *> Base; typedef Element<Key> T; typedef typename std::map<Key, T *>::iterator CollectionIterator; typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator; Loading Loading @@ -127,7 +128,7 @@ public: for (it = (*this).begin(); it != (*this).end(); ++it) { delete it->second; } (*this).clear(); Base::clear(); } private: Loading
services/audiopolicy/engineconfigurable/src/Stream.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ routing_strategy Element<audio_stream_type_t>::get<routing_strategy>() const status_t Element<audio_stream_type_t>::setVolumeProfile(device_category category, const VolumeCurvePoints &points) { ALOGD("%s: adding volume profile for %s for device category %d, points nb =%d", __FUNCTION__, ALOGD("%s: adding volume profile for %s for device category %d, points nb =%zu", __FUNCTION__, getName().c_str(), category, points.size()); mVolumeProfiles[category] = points; for (size_t i = 0; i < points.size(); i++) { ALOGV("%s: %s cat=%d curve index =%d Index=%d dBAttenuation=%f", ALOGV("%s: %s cat=%d curve index =%zu Index=%d dBAttenuation=%f", __FUNCTION__, getName().c_str(), category, i, points[i].mIndex, points[i].mDBAttenuation); } Loading