diff options
Diffstat (limited to 'media/jni/soundpool/StreamManager.cpp')
-rw-r--r-- | media/jni/soundpool/StreamManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/jni/soundpool/StreamManager.cpp b/media/jni/soundpool/StreamManager.cpp index 5b6494d4947e..502ee00b583e 100644 --- a/media/jni/soundpool/StreamManager.cpp +++ b/media/jni/soundpool/StreamManager.cpp @@ -98,9 +98,11 @@ int32_t StreamMap::getNextIdForStream(Stream* stream) const { #pragma clang diagnostic ignored "-Wthread-safety-analysis" StreamManager::StreamManager( - int32_t streams, size_t threads, const audio_attributes_t* attributes) + int32_t streams, size_t threads, const audio_attributes_t* attributes, + std::string opPackageName) : StreamMap(streams) , mAttributes(*attributes) + , mOpPackageName(std::move(opPackageName)) { ALOGV("%s(%d, %zu, ...)", __func__, streams, threads); forEach([this](Stream *stream) { |