diff options
Diffstat (limited to 'media/jni/soundpool/SoundPool.h')
-rw-r--r-- | media/jni/soundpool/SoundPool.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/jni/soundpool/SoundPool.h b/media/jni/soundpool/SoundPool.h index d5b16ef629cd..ffb1c997393a 100644 --- a/media/jni/soundpool/SoundPool.h +++ b/media/jni/soundpool/SoundPool.h @@ -19,6 +19,8 @@ #include "SoundManager.h" #include "StreamManager.h" +#include <string> + namespace android { /** @@ -29,7 +31,8 @@ namespace android { */ class SoundPool { public: - SoundPool(int32_t maxStreams, const audio_attributes_t* attributes); + SoundPool(int32_t maxStreams, const audio_attributes_t* attributes, + const std::string& opPackageName = {}); ~SoundPool(); // SoundPool Java API support |